CI: exclude test from pages branch

This commit is contained in:
jon r 2024-09-24 21:48:15 +02:00
parent e6220ddca2
commit e60f6cbc1c

View file

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