diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f25b55c..58776ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,10 +25,10 @@ jobs: uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 - name: Use local package run: | - sed -i 's/#import .*/#import "..\/lib.typ": */' template/example.typ + sed -i 's/#import .*/#import "..\/lib.typ": */' template/cv.typ - name: compile run: pixi run compile - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: - path: template/example.pdf + path: template/cv.pdf if-no-files-found: error diff --git a/pixi.toml b/pixi.toml index 4288c8d..027ea31 100644 --- a/pixi.toml +++ b/pixi.toml @@ -4,8 +4,8 @@ channels = ["conda-forge"] platforms = ["osx-arm64", "linux-64", "win-64"] [tasks] -watch = "typst watch template/example.typ --root ." -compile = "typst compile template/example.typ --root ." +watch = "typst watch template/cv.typ --root ." +compile = "typst compile template/cv.typ --root ." pre-commit-run = "pre-commit run -a" [dependencies] diff --git a/template/example.typ b/template/cv.typ similarity index 100% rename from template/example.typ rename to template/cv.typ diff --git a/typst.toml b/typst.toml index b627925..d583f3b 100644 --- a/typst.toml +++ b/typst.toml @@ -14,5 +14,5 @@ repository = "https://github.com/pavelzw/moderner-cv" [template] path = "template" -entrypoint = "example.typ" +entrypoint = "cv.typ" thumbnail = "assets/example.png"