Skip to content

Commit

Permalink
bug fix quoting error, include workflow for paper.pdf creation
Browse files Browse the repository at this point in the history
  • Loading branch information
McWhity committed Oct 16, 2024
1 parent 3786eb3 commit 01db37b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Draft PDF
on:
push:
paths:
- joss_paper/**
- .github/workflows/draft-pdf.yml

jobs:
paper:
runs-on: ubuntu-latest
name: Paper Draft
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build draft PDF
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
# This should be the path to the paper within your repo.
paper-path: joss_paper/paper.md
- name: Upload
uses: actions/upload-artifact@v4
with:
name: paper
# This is the output path where Pandoc will write the compiled
# PDF. Note, this should be the same directory as the input
# paper.md
path: Joss_paper/paper.pdf
- name: Commit PDF to repository
uses: EndBug/add-and-commit@v9
with:
message: '(auto) Paper PDF Draft'
# This should be the path to the paper within your repo.
add: 'paper.pdf' # 'paper/*.pdf' to commit all PDFs in the paper directory
2 changes: 1 addition & 1 deletion joss_paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:
authors:
- name: Thomas Weiß
orcid: 0000-0001-5278-8379
affiliation: 1,2,3
affiliation: "1,2,3"
- name: Alexander Löw
affiliation: 1
affiliations:
Expand Down

0 comments on commit 01db37b

Please sign in to comment.