Don't build review deployment for prod

But do build docs
This commit is contained in:
James Polley 2018-07-02 02:06:16 +10:00
parent 2e77bb2d60
commit 6781297016

View file

@ -45,6 +45,8 @@ build_review_deployment:
stage: build
script:
- docker run -v "${PWD}"/k8s:/src sparkprime/jsonnet /src/deployment_template.jsonnet --tla-str slug="${CI_COMMIT_REF_SLUG}" --tla-str sha="${CI_COMMIT_SHA}" -m /src
only:
- /^dev\/.*$/
artifacts:
paths:
- k8s/deployment.json
@ -168,6 +170,7 @@ pages:
<<: *sphinx
only:
- master
- 2019
environment:
name: docs
url: https://laconfdev.gitlab.io/symposion_app/