Install git, switch deploy to dispatch only

This commit is contained in:
Jafner 2021-09-30 00:40:34 -07:00
parent b8b5a4458e
commit 41b089cb7d
2 changed files with 11 additions and 11 deletions

View File

@ -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:

View File

@ -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