aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2026-07-23 04:51:56 +0000
committerKumar Damani <me@kumardamani.net>2026-07-23 04:51:56 +0000
commitee0dbb605e73071431a3ea4b7bbfa03a6c292542 (patch)
treefdab9b60b9d17d6cb6afc663c3ab0fc786db2959 /.gitlab-ci.yml
Initial commit
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..18fbf42
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+---
+render:
+ stage: build
+ image:
+ name: ghcr.io/typst/typst:latest
+ entrypoint: [""]
+ rules:
+ - if: $CI_COMMIT_BRANCH == "main"
+ changes:
+ - "**/*.typ"
+ script:
+ - >
+ printf '{ "date": "%s", "link": "%s" }\n'
+ "$(date '+%B %d, %Y' | sed 's/ 0/ /')" "$CI_JOB_URL" > ci.json
+ - typst compile cv.typ
+ artifacts:
+ paths:
+ - cv.pdf