Skip to content

Commit 529032c

Browse files
update workflows
1 parent 2b083fd commit 529032c

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
1-
name: Build CV
1+
name: Compile and Commit Typst Files
22
on:
3-
workflow_dispatch:
43
push:
54
branches:
65
- mistress
6+
workflow_dispatch:
7+
78
permissions:
89
contents: write
910
jobs:
1011
build:
1112
runs-on: ubuntu-latest
1213
steps:
13-
- name: Checkout Repository
14-
uses: actions/checkout@v4
15-
- name: Compile Typst Files
16-
uses: ammar-ahmed22/compile-typst-action@v1
17-
with:
18-
source_paths: 'cv_2025.typ cv_2025_en.typ'
19-
output_paths: 'cv_2025.pdf cv_2025_en.pdf'
20-
- name: Upload Artifacts
21-
uses: actions/upload-artifact@v3
22-
with:
23-
name: PDF
24-
path: '**/*.pdf'
25-
- name: Commit compiled PDFs
26-
uses: stefanzweifel/git-auto-commit-action@v5
27-
with:
28-
commit_message: '[continuous deployment]: Compiled Typst to PDF'
14+
- name: Checkout repo
15+
uses: actions/checkout@v4
16+
- name: Compile Typst to PDF
17+
uses: ammar-ahmed22/compile-typst-action@v1
18+
with:
19+
source_paths: 'cv_2025.typ'
20+
output_paths: 'cv_2025.pdf'
21+
- name: Commit compiled PDFs
22+
uses: stefanzweifel/git-auto-commit-action@v5
23+
with:
24+
commit_message: '[continuous deployment]: Compiled Typst to PDF'

0 commit comments

Comments
 (0)