From e8ad11287d9444bcf309855e252137c19fb83b43 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Tue, 13 Jul 2021 23:58:40 +0200 Subject: [PATCH] CI: Alternatively run pages if ref matches default branch --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2907a1b..8df17a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ pages: image: archlinux:latest interruptible: true rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH before_script: - pacman --needed --noconfirm --sync --refresh --sysupgrade zola script: