From 6791c3a550e935abd9139d3da9ba5213b0e987c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20Br=C3=BCckmann?= <64bit+git@posteo.de> Date: Mon, 10 May 2021 08:06:08 +0200 Subject: [PATCH] Only publish pages on default branch --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8f2d80e..e8180653 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -434,5 +434,5 @@ pages: paths: - public needs: ["Build documentation"] - #rules: # TODO: activate before merge - # - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # only publish pages on default (master) branch \ No newline at end of file + rules: + - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # only publish pages on default (master) branch \ No newline at end of file