image: hugomods/hugo:latest variables: HUGO_ENV: production default: before_script: - apk add typst test: script: - hugo rules: - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH pages: script: - hugo artifacts: paths: - public rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH