diff options
| author | Karan Jayachandra <me@karanj.com> | 2026-04-14 19:49:58 +0200 |
|---|---|---|
| committer | Karan Jayachandra <me@karanj.com> | 2026-04-14 19:49:58 +0200 |
| commit | 7f275d53dde724b3b39fe0c1bed6f7b80784ebbb (patch) | |
| tree | 0c1681d65670cecbbe7a6f9510282098240e8134 | |
| parent | 8fe4a5cbc49d9704b6c0bf88a2a78d12bb701b69 (diff) | |
Added the package dependency and the resume building
| -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: |
