Skip to content

Commit e8387a2

Browse files
committed
build paper draft
1 parent 4a2db1a commit e8387a2

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/PaperDraft.yml

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

0 commit comments

Comments
 (0)