Update .gitlab-ci.yml file

This commit is contained in:
Denys Konovalov 2022-10-15 17:06:38 +00:00
parent 75ab193f1f
commit 356355cef3

View File

@ -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
@ -15,4 +16,5 @@ pages:
- public - public
only: only:
variables: variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
interruptible: true