CI: exclude test from pages branch

This commit is contained in:
jon r 2024-09-24 21:48:55 +02:00
parent e60f6cbc1c
commit 3b7f65491d

View file

@ -18,7 +18,7 @@ test:
script: script:
- hugo --minify - hugo --minify
rules: rules:
- if: ($CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH != "pages") - if: ($CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_COMMIT_BRANCH != "pages")
pages: pages:
script: script: