Update .gitlab-ci.yml file

This commit is contained in:
Caspar Jungbacker 2023-06-27 20:30:37 +02:00
parent f77fea60be
commit 2225c34b9a

View file

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