Skip to content

Commit 2ecec6e

Browse files
committed
Try out github actions build
1 parent 9ab6e0d commit 2ecec6e

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build Documents
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Build
21+
uses: dante-ev/latex-action@latest
22+
with:
23+
entrypoint: ./docker.sh
24+
25+
- name: Upload
26+
uses: actions/upload-artifact@v3
27+
with:
28+
name: pdfs
29+
path: '*.pdf'
30+
31+
- name: Release
32+
uses: ncipollo/release-action@v1
33+
with:
34+
artifacts: "cv.pdf,resume.pdf"
35+
artifactContentType: 'application/pdf'
36+
token: ${{ secrets.GITHUB_TOKEN }}
37+
commit: 'master'
38+
tag: 'v${{ github.run_number }}'

0 commit comments

Comments
 (0)