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: