ci: set up initial script

Add CI to build documentation with each push
This commit is contained in:
Paul T
2024-04-01 09:29:09 -04:00
committed by Paul T
parent 311bf4fcc5
commit 0dbf348b2b

View File

@@ -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