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:
- hugo --minify
rules:
- if: ($CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH != "pages")
- if: ($CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_COMMIT_BRANCH != "pages")
pages:
script: