Update .gitlab-ci.yml file

This commit is contained in:
Caspar Jungbacker 2023-06-26 19:59:09 +02:00
parent 9d4df9afb6
commit 689596585e

View file

@ -69,8 +69,8 @@ update-website:
rules:
- if: $CI_COMMIT_BRANCH == "publish" && $CI_PIPELINE_SOURCE == "push"
script:
- docker-compose pull $CI_PROJECT_NAME
- docker-compose up -d
- docker-compose pull -f /etc/web_server/docker-compose.yml $CI_PROJECT_NAME
- docker-compose up -f /etc/web_server/docker-compose.yml -d
environment:
name: production
url: https://interactivetextbooks.citg.tudelft.nl/