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} ~/.local/share/typst/packages/local - typst compile resume.typ static/resume.pdf - hugo - ls public artifacts: paths: - public rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH