diff options
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4740b8..c8a6651 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,21 +1,14 @@ image: hugomods/hugo:latest -resume: +main: variables: + HUGO_ENV: production TYPST_PACKAGE_GIT_REPO: https://gitlab.com/KaranJayachandra/typst.git - before_script: - - apk add typst - - cd $XDG_DATA_HOME && git clone ${TYPST_PACKAGE_GIT_REPO} local script: - - pwd - - ls + - 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 - -pages: - variables: - HUGO_ENV: production - script: - hugo artifacts: paths: |
