-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 825 Bytes
/
Copy pathbuild.yml
File metadata and controls
35 lines (30 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build CVs
on:
push:
branches: [ main ]
release:
types: [ created ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Typst
uses: typst-community/setup-typst@v3
- name: Compile AI Engineer CV
run: |
mkdir -p public
typst compile ai-engineer.typ public/ai-engineer.pdf
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
# Upload PDFs as an artifact so you can download them from the Actions tab
#- name: Upload PDFs
# uses: actions/upload-artifact@v4
# with:
# name: compiled-cvs
# path: ./*.pdf