image: registry.gitlab.com/pages/hugo/hugo:latest default: before_script: - apk add --update --no-cache git go - hugo mod init gitlab.com/pages/hugo - hugo mod get -u github.com/adityatelange/hugo-PaperMod pages: script: - hugo artifacts: paths: - public rules: - if: $CI_COMMIT_REF_NAME == "page"