From e60f6cbc1c9a5ea64269671ab2b3b8fd9f3623b0 Mon Sep 17 00:00:00 2001 From: jon r Date: Tue, 24 Sep 2024 21:48:15 +0200 Subject: [PATCH] CI: exclude test from pages branch --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbaf2cd..25b922e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,8 +18,7 @@ test: script: - hugo --minify rules: - - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH - - if: $CI_COMMIT_BRANCH != "pages" + - if: ($CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH != "pages") pages: script: