File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Compile CVs
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ jobs :
13+ compile :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - uses : typst-community/setup-typst@v4
19+
20+ - name : Compile
21+ run : |
22+ mkdir -p dist
23+ typst compile cv-en.typ dist/cv-eng.pdf
24+ typst compile cv-en.typ dist/cv-eng.png
25+ typst compile cv-ru.typ dist/cv-ru.pdf
26+
27+ - uses : actions/upload-pages-artifact@v3
28+ with :
29+ path : dist/
30+
31+ deploy :
32+ needs : compile
33+ runs-on : ubuntu-latest
34+ environment :
35+ name : github-pages
36+ url : ${{ steps.deployment.outputs.page_url }}
37+ steps :
38+ - id : deployment
39+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11# CV
2- ![ CV preview] ( dist /cv-eng.png)
2+ ![ CV preview] ( https://sl1depengwyn.github.io/cv /cv-eng.png)
You can’t perform that action at this time.
0 commit comments