Install git, switch deploy to dispatch only
This commit is contained in:
parent
b8b5a4458e
commit
41b089cb7d
20
.github/workflows/cd.yml
vendored
20
.github/workflows/cd.yml
vendored
@ -5,16 +5,16 @@ name: CD
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the main branch
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||
- '.github/**'
|
||||
- 'docker-compose.yml'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||
- '.github/**'
|
||||
- 'docker-compose.yml'
|
||||
#push:
|
||||
# branches: [ main ]
|
||||
# paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||
# - '.github/**'
|
||||
# - 'docker-compose.yml'
|
||||
#pull_request:
|
||||
# branches: [ main ]
|
||||
# paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||
# - '.github/**'
|
||||
# - 'docker-compose.yml'
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
@ -4,7 +4,7 @@ ENV PGID=${PGID:-1000}
|
||||
COPY init.sh /init.sh
|
||||
RUN apt-get update && \
|
||||
apt-get -y upgrade && \
|
||||
apt-get -y install curl p7zip-full megatools && \
|
||||
apt-get -y install curl p7zip-full megatools git && \
|
||||
chmod +x /init.sh
|
||||
WORKDIR /usr/local/apache2/htdocs/
|
||||
RUN mkdir download
|
||||
|
||||
Loading…
Reference in New Issue
Block a user