Skip to content

Commit 8536ce9

Browse files
author
Thijs van Lankveld
committed
Added github action to build paper.
1 parent 8e8f159 commit 8536ce9

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/draft-pdf.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Draft PDF
2+
on:
3+
push:
4+
paths:
5+
- paper.md
6+
- paper.bib
7+
- figs/**
8+
- .github/workflows/draft-pdf.yml
9+
10+
jobs:
11+
paper:
12+
runs-on: ubuntu-latest
13+
name: Paper Draft
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Build draft PDF
18+
uses: openjournals/openjournals-draft-action@master
19+
with:
20+
journal: joss
21+
# This should be the path to the paper within your repo.
22+
paper-path: paper.md
23+
- name: Upload
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: paper
27+
# This is the output path where Pandoc will write the compiled
28+
# PDF. Note, this should be the same directory as the input
29+
# paper.md
30+
path: paper.pdf

0 commit comments

Comments
 (0)