CI: exclude test from pages branch
This commit is contained in:
parent
e6220ddca2
commit
e60f6cbc1c
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue