Skip to content

Commit 2b083fd

Browse files
create workflow
1 parent 1a0b9f7 commit 2b083fd

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build CV
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- mistress
7+
permissions:
8+
contents: write
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
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'

0 commit comments

Comments
 (0)