From fa12aaea6faa731decc286bee1ed3c7825250597 Mon Sep 17 00:00:00 2001
From: Simon Kirsten <simon.kirsten@stud.h-da.de>
Date: Sat, 2 Nov 2019 01:04:43 +0100
Subject: [PATCH] Updated CI

---
 .gitlab-ci-pages.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci-pages.yml b/.gitlab-ci-pages.yml
index 37971e0..3f99565 100644
--- a/.gitlab-ci-pages.yml
+++ b/.gitlab-ci-pages.yml
@@ -15,7 +15,9 @@ pages:
     expire_in: 1h
 
   # Only deploy to GitLab pages on protected tags (more about that in the Contributing page)
+  # and only if DEPLOY_PAGES is set (which is set in the separate private pages repo)
   only:
     variables:
       - $CI_COMMIT_TAG =~ /^v.*$/
+      - $DEPLOY_PAGES
 
-- 
GitLab