image: hugomods/hugo:latest main: variables: HUGO_ENV: production TYPST_PACKAGE_GIT_REPO: https://gitlab.com/KaranJayachandra/typst.git script: - apk add typst - git clone ${TYPST_PACKAGE_GIT_REPO} $XDG_DATA_HOME/typst/packages/local - typst compile resume.typ - cp resume.pdf static/resume.pdf - hugo artifacts: paths: - public rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH