From 0dbf348b2b06474b1e2385297b3beeaf49c79794 Mon Sep 17 00:00:00 2001 From: Paul T Date: Mon, 1 Apr 2024 09:29:09 -0400 Subject: [PATCH] ci: set up initial script Add CI to build documentation with each push --- .github/workflows/build-documentation.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/build-documentation.yml diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml new file mode 100644 index 0000000..4db40a2 --- /dev/null +++ b/.github/workflows/build-documentation.yml @@ -0,0 +1,19 @@ +name: Build documentation +on: [push, workflow_dispatch] +jobs: + build_pdf: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v3 + - name: Typst + uses: yusancky/setup-typst@v2 + id: setup-typst + with: + version: 'v0.11.0' + - run: typst compile modern-cv-docs.typ + - name: Upload PDF file + uses: actions/upload-artifact@v3 + with: + name: modern-cv-documentation + path: modern-cv-documentation.pdf