Skip to content

Commit 5eb0df1

Browse files
Create draft-pdf.yml for JOSS compilation
1 parent 0d24b00 commit 5eb0df1

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/draft-pdf.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Draft PDF
2+
on:
3+
push:
4+
paths:
5+
- paper.md
6+
- paper.bib
7+
- assets/img1.png
8+
- assets/img2.png
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+
- name: Build draft PDF
19+
uses: openjournals/openjournals-draft-action@master
20+
with:
21+
journal: joss
22+
# This should be the path to the paper within your repo.
23+
paper-path: paper.md
24+
- name: Upload
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: paper
28+
# This is the output path where Pandoc will write the compiled
29+
# PDF. Note, this should be the same directory as the input
30+
# paper.md
31+
path: paper.pdf

0 commit comments

Comments
 (0)