Update .gitlab-ci.yml

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

View File

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