forked from posquit0/Awesome-CV
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 824 Bytes
/
compile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Compile CV
on:
push: {}
pull_request: {}
permissions:
contents: write
pull-requests: write
jobs:
compile:
name: Compile CV
runs-on: ubuntu-latest
container: texlive/texlive:latest
steps:
- uses: actions/checkout@master
name: Checkout repository
with:
fetch-depth: 0
- name: Change ownership
run: chown -R $(whoami) .
- name: Compile
run: xelatex SergeyKambalin.tex
- name: Commit changes
run: git commit -a -m "Auto-compile CV"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- uses: actions/upload-artifact@v4
name: Upload CV
with:
name: SergeyKambalin
path: ./SergeyKambalin.pdf