Update .gitlab-ci.yml

This commit is contained in:
Denys Konovalov 2023-01-06 22:54:31 +00:00
parent d88a5a669c
commit e755080dfa

@ -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