Skip to content

Commit 34822e8

Browse files
authored
Update draft-pdf.yml
1 parent f3933fe commit 34822e8

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
@@ -1 +1,26 @@
1+
on:
2+
push:
3+
branches:
4+
- 'paper'
15

6+
jobs:
7+
paper:
8+
runs-on: ubuntu-latest
9+
name: Paper Draft
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
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@v1
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)