diff options
| author | Kumar Damani <me@kumardamani.net> | 2026-07-23 04:51:56 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2026-07-23 04:51:56 +0000 |
| commit | ee0dbb605e73071431a3ea4b7bbfa03a6c292542 (patch) | |
| tree | fdab9b60b9d17d6cb6afc663c3ab0fc786db2959 /.gitlab-ci.yml | |
Initial commit
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 18 |
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 |
