Skip to content

Commit 6c11e2b

Browse files
committed
Add GitHub Pages deployment step
1 parent dcfc9f3 commit 6c11e2b

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
release:
66
types: [ created ]
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest
@@ -15,14 +18,19 @@ jobs:
1518
uses: typst-community/setup-typst@v3
1619

1720
- name: Compile AI Engineer CV
18-
run: typst compile ai-data-engineer.typ ai-data-engineer.pdf
21+
run: typst compile ai-engineer.typ ai-engineer.pdf
1922

20-
- name: Compile Manager CV
23+
- name: Compile Data Engineer CV
2124
run: typst compile data-engineer-role.typ data-engineer-role.pdf
2225

23-
# Upload PDFs as an artifact so you can download them from the Actions tab
24-
- name: Upload PDFs
25-
uses: actions/upload-artifact@v4
26+
- name: Deploy to GitHub Pages
27+
uses: peaceiris/actions-gh-pages@v4
2628
with:
27-
name: compiled-cvs
28-
path: ./*.pdf
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./public
31+
# Upload PDFs as an artifact so you can download them from the Actions tab
32+
#- name: Upload PDFs
33+
# uses: actions/upload-artifact@v4
34+
# with:
35+
# name: compiled-cvs
36+
# path: ./*.pdf

0 commit comments

Comments
 (0)