Skip to content

Commit 90c9c5f

Browse files
committed
Add GitHub Action for LaTeX processing
1 parent 30187c3 commit 90c9c5f

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build LaTeX CV
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Compile LaTeX document
18+
uses: xu-cheng/latex-action@v4
19+
with:
20+
root_file: cv_eng.tex
21+
22+
- name: Move latest tag to current commit
23+
run: |
24+
git tag -f latest
25+
git push origin latest --force
26+
27+
- name: Create or update latest release
28+
uses: softprops/action-gh-release@v2
29+
with:
30+
tag_name: latest
31+
name: Latest CV
32+
body: "Built automatically from commit ${{ github.sha }}."
33+
files: cv_eng.pdf
34+
make_latest: true

cv_eng.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
% personal data
2828
\name{Matteo}{Iervasi}
2929
\email{matteoiervasi@gmail.com}
30-
\homepage{https://matteoiervasi.it/}
30+
\homepage{matteoiervasi.it}
3131

3232
% Social icons
3333
\social[linkedin]{matteo-iervasi}

0 commit comments

Comments
 (0)