Skip to content

Commit b95b42b

Browse files
committed
Add Open Journals PDF generator
1 parent 7d4e713 commit b95b42b

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/draft-pdf.yml

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

0 commit comments

Comments
 (0)