From cd3548e06b6e318503d639b78ffda488278bcd05 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Wed, 14 Jul 2021 00:01:41 +0200 Subject: [PATCH] Always run jobs if conditions apply --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8df17a7..0023ca2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ pages: interruptible: true rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH + when: always before_script: - pacman --needed --noconfirm --sync --refresh --sysupgrade zola script: @@ -23,6 +24,7 @@ basic-zola-test: interruptible: true rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: always before_script: - pacman --needed --noconfirm --sync --refresh --sysupgrade zola script: