gcg-website/.gitlab-ci.yml

16 lines
318 B
YAML

image: registry.gitlab.com/pages/hugo/hugo_extended:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
script:
- hugo --gc --minify
- find public -type f -print0 | xargs -0 gzip -9 -k
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
interruptible: true