mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
376e74b106
commit
0d592c0fdf
1 changed files with 0 additions and 9 deletions
|
|
@ -3,7 +3,6 @@ image: continuumio/miniconda:latest
|
|||
stages:
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||
|
|
@ -62,14 +61,6 @@ build-container:
|
|||
- docker build -t $TAG_COMMIT -t $TAG_LATEST .
|
||||
- docker push $TAG_COMMIT
|
||||
- docker push $TAG_LATEST
|
||||
|
||||
update-website:
|
||||
image: docker
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "publish" && $CI_PIPELINE_SOURCE == "push"
|
||||
script:
|
||||
- docker compose up -d
|
||||
environment:
|
||||
name: production
|
||||
url: https://interactivetextbooks.citg.tudelft.nl/
|
||||
Loading…
Add table
Add a link
Reference in a new issue