From 7f275d53dde724b3b39fe0c1bed6f7b80784ebbb Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Tue, 14 Apr 2026 19:49:58 +0200 Subject: Added the package dependency and the resume building --- .gitlab-ci.yml | 17 ++++++++--------- 1 file 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: -- cgit v1.3.1