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