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
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the main branch
|
# Triggers the workflow on push or pull request events but only for the main branch
|
||||||
push:
|
#push:
|
||||||
branches: [ main ]
|
# branches: [ main ]
|
||||||
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
# paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||||
- '.github/**'
|
# - '.github/**'
|
||||||
- 'docker-compose.yml'
|
# - 'docker-compose.yml'
|
||||||
pull_request:
|
#pull_request:
|
||||||
branches: [ main ]
|
# branches: [ main ]
|
||||||
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
# paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||||
- '.github/**'
|
# - '.github/**'
|
||||||
- 'docker-compose.yml'
|
# - 'docker-compose.yml'
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
@ -4,7 +4,7 @@ ENV PGID=${PGID:-1000}
|
|||||||
COPY init.sh /init.sh
|
COPY init.sh /init.sh
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get -y upgrade && \
|
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
|
chmod +x /init.sh
|
||||||
WORKDIR /usr/local/apache2/htdocs/
|
WORKDIR /usr/local/apache2/htdocs/
|
||||||
RUN mkdir download
|
RUN mkdir download
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user