From 26e742d46c1fdf662f30d75d5e94130a4b514073 Mon Sep 17 00:00:00 2001 From: Simon Kirsten <simon.kirsten@stud.h-da.de> Date: Sat, 2 Nov 2019 01:17:23 +0100 Subject: [PATCH] Only deploy if on version tag and DEPLOY_PAGES set --- .gitlab-ci-pages.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci-pages.yml b/.gitlab-ci-pages.yml index 3f99565..1c271bd 100644 --- a/.gitlab-ci-pages.yml +++ b/.gitlab-ci-pages.yml @@ -18,6 +18,4 @@ pages: # and only if DEPLOY_PAGES is set (which is set in the separate private pages repo) only: variables: - - $CI_COMMIT_TAG =~ /^v.*$/ - - $DEPLOY_PAGES - + - $CI_COMMIT_TAG =~ /^v.*$/ && $DEPLOY_PAGES -- GitLab