From 67812970161ea136ea09a7738f0dc44c08b08f22 Mon Sep 17 00:00:00 2001 From: James Polley Date: Mon, 2 Jul 2018 02:06:16 +1000 Subject: [PATCH] Don't build review deployment for prod But do build docs --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea7573f6..55652ecf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/