Update .gitlab-ci.yml file

This commit is contained in:
Denys Konovalov 2022-10-15 17:06:38 +00:00
parent ff56cf8576
commit 41848ad8de

@ -7,6 +7,7 @@ test:
except: except:
variables: variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
interruptible: true
pages: pages:
script: script:
- hugo --gc --minify --cleanDestinationDir - hugo --gc --minify --cleanDestinationDir
@ -16,3 +17,4 @@ pages:
only: only:
variables: variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
interruptible: true