Pierre-Olivier Mercier
9b26a5a294
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
23 lines
432 B
YAML
23 lines
432 B
YAML
#
|
|
# All available Hugo versions are listed under https://gitlab.com/pages/hugo/container_registry.
|
|
#
|
|
image: registry.gitlab.com/pages/hugo/hugo:latest
|
|
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
stages:
|
|
- build
|
|
|
|
pages:
|
|
stage: build
|
|
script:
|
|
- hugo
|
|
- cp public/en/404.html public/404.html
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
environment: production
|