Skip to content

Commit 586012d

Browse files
committed
add JOSS GH workflow to build paper PDF
- fix #3 - source: https://github.com/Becksteinlab/zarrtraj/blob/main/.github/workflows/draft-pdf.yml
1 parent fc3d24a commit 586012d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/draft-pdf.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
paths:
4+
- *.md
5+
- *.bib
6+
- figures/**
7+
- .github/workflows/draft-pdf.yml
8+
9+
jobs:
10+
paper:
11+
runs-on: ubuntu-latest
12+
name: Paper Draft
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
- name: Build draft PDF
17+
uses: openjournals/openjournals-draft-action@master
18+
with:
19+
journal: joss
20+
paper-path: paper.md
21+
- name: Upload
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: paper
25+
path: paper.pdf

0 commit comments

Comments
 (0)