Update .gitlab-ci.yml

This commit is contained in:
Denys Konovalov 2023-01-06 22:54:31 +00:00
parent 551757d4f9
commit 5d1b96bd7e

@ -5,11 +5,10 @@ variables:
pages: pages:
script: script:
- hugo --gc --minify - hugo --gc --minify && gzip -k -9 $(find public -type f)
- gzip -k -9 public/*
artifacts: artifacts:
paths: paths:
- public - public
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
interruptible: true interruptible: true