diff options
| -rw-r--r-- | .gitlab-ci.yml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a908b7e..6653de6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,18 @@ image: hugomods/hugo:latest -variables: - HUGO_ENV: production - -default: +resume: + variables: + TYPST_PACKAGE_GIT_REPO: git@gitlab.com:KaranJayachandra/typst.git before_script: - apk add typst - -test: + - cd $XDG_DATA_HOME && git clone $TYPST_PACKAGE_GIT_REPO local script: - - hugo - rules: - - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH + - typst compile resume.typ + - cp resume.pdf static/resume.pdf pages: + variables: + HUGO_ENV: production script: - hugo artifacts: |
