aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaran Jayachandra <me@karanj.com>2026-04-14 20:10:38 +0200
committerKaran Jayachandra <me@karanj.com>2026-04-14 20:10:38 +0200
commitebf93876f6b36b2541ce5b6226e220919578f660 (patch)
tree5c9b15daabfdd5d2c8b428ad293639c852f38e54
parent71573240b4f13761eec20a08e520796a6a147606 (diff)
Combined everything into one flow
-rw-r--r--.gitlab-ci.yml15
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: