File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Draft PDF
2+ on : [push]
3+
4+ jobs :
5+ paper :
6+ runs-on : ubuntu-latest
7+ name : Paper Draft
8+ steps :
9+ - name : Checkout
10+ uses : actions/checkout@v4
11+ - name : Build draft PDF
12+ uses : openjournals/openjournals-draft-action@master
13+ with :
14+ journal : joss
15+ # This should be the path to the paper within your repo.
16+ paper-path : paper.md
17+ - name : Upload
18+ uses : actions/upload-artifact@v4
19+ with :
20+ name : paper
21+ # This is the output path where Pandoc will write the compiled
22+ # PDF. Note, this should be the same directory as the input
23+ # paper.md
24+ path : paper.pdf
25+ - name : Commit PDF to repository
26+ uses : EndBug/add-and-commit@v9
27+ with :
28+ message : ' (auto) Paper PDF Draft'
29+ # This should be the path to the paper within your repo.
30+ add : ' paper.pdf' # 'paper/*.pdf' to commit all PDFs in the paper directory
You can’t perform that action at this time.
0 commit comments