Skip to content

Commit e598042

Browse files
committed
Add workflow to deploy PDF
1 parent 52e382f commit e598042

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy PDF
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy-pdf:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up dependencies
16+
run: sudo apt-get update && sudo apt-get install -y texlive-latex-recommended texlive-fonts-extra
17+
18+
- name: Build comprog.pdf
19+
run: make clean && make
20+
21+
- name: Upload comprog.pdf
22+
uses: actions/upload-artifact@v3
23+
with:
24+
name: comprog.pdf
25+
path: comprog.pdf
26+

0 commit comments

Comments
 (0)