mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 06:45:52 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
c85b75aa02
commit
336c4b076c
1 changed files with 3 additions and 2 deletions
|
|
@ -48,5 +48,6 @@ deploy-book:
|
|||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "publish" && $CI_PIPELINE_SOURCE == "push"
|
||||
script:
|
||||
- docker compose -f /etc/web_server/docker-compose.yml pull
|
||||
- docker compose -f /etc/web_server/docker-compose.yml up -d --no-deps manual
|
||||
- docker stop $CI_PROJECT_NAME
|
||||
- docker rm $CI_PROJECT_NAME
|
||||
- docker run -d -p 8000:8000 --name $CI_PROJECT_NAME $TAG_LATEST
|
||||
Loading…
Add table
Add a link
Reference in a new issue