Update .gitlab-ci.yml
This commit is contained in:
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user