Update .gitlab-ci.yml

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

View File

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