Commit d8c3f737 authored by Andreas Böttger's avatar Andreas Böttger 😬

Update .gitlab-ci.yml

parent a83b0e1a
Pipeline #12425 failed
......@@ -18,19 +18,13 @@ review:start:
name: review/${CI_COMMIT_REF_NAME}
url: http://${CI_ENVIRONMENT_SLUG}.collaborating.tuhh.de
on_stop: review:stop
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
paths:
# Was hier nicht gelistet ist, landet auch nicht in der `review`-Phase
- _site
only:
- branches
tags:
- development
- ssg
# except:
# - master
except:
- master
review:stop:
stage: review
......@@ -47,11 +41,27 @@ review:stop:
tags:
- development
- ssg
# except:
# - master
deploy:
except:
- master
deploy:generate
stage: deploy
only:
- master
tags:
- production
script:
- sudo docker pull docker.rz.tu-harburg.de:5000/docker/jekyll-glr:latest
- sudo docker run --rm -v $(pwd):/source docker.rz.tu-harburg.de:5000/docker/jekyll-glr install
- sudo docker run --rm -v $(pwd):/source docker.rz.tu-harburg.de:5000/docker/jekyll-glr build
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
paths:
# Was hier nicht gelistet ist, landet auch nicht in der `review`-Phase
- _site
deploy:deploy
stage: deploy
only:
- master
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment