Skip to content

Commit 1ce7c86

Browse files
convert to pdf
1 parent 881915b commit 1ce7c86

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/draft-pdf.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Draft PDF
2+
3+
on:
4+
push:
5+
paths:
6+
- documentation/paper.md
7+
- documentation/paper_ref.bib
8+
- documentation/assets/**
9+
- .github/workflows/draft-pdf.yml
10+
11+
jobs:
12+
paper:
13+
runs-on: ubuntu-latest
14+
name: Paper Draft
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Build draft PDF
20+
uses: openjournals/openjournals-draft-action@master
21+
with:
22+
journal: joss
23+
paper-path: documentation/paper.md
24+
25+
- name: Upload
26+
uses: actions/upload-artifact@v4
27+
with:
28+
name: paper
29+
path: documentation/paper.pdf
30+
31+
# auto-commit PDF into the repo (needs write perms enabled)
32+
- name: Commit PDF to repository
33+
uses: EndBug/add-and-commit@v9
34+
with:
35+
message: '(auto) Paper PDF Draft'
36+
add: 'documentation/paper.pdf'

0 commit comments

Comments
 (0)