Skip to content

Commit 7d29ef8

Browse files
authored
Merge pull request #64 from MunchLab/compile-action
Add workflow to compile paper draft and upload PDF
2 parents e8531bf + 37a8c93 commit 7d29ef8

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)