From 01db37b2a75305e1d8a7c8af7b70f6ecdf4c04b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9F?= Date: Wed, 16 Oct 2024 10:43:51 +0200 Subject: [PATCH] bug fix quoting error, include workflow for paper.pdf creation --- .github/workflows/draft-pdf.yml | 34 +++++++++++++++++++++++++++++++++ joss_paper/paper.md | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/draft-pdf.yml diff --git a/.github/workflows/draft-pdf.yml b/.github/workflows/draft-pdf.yml new file mode 100644 index 0000000..a43ef6e --- /dev/null +++ b/.github/workflows/draft-pdf.yml @@ -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 \ No newline at end of file diff --git a/joss_paper/paper.md b/joss_paper/paper.md index 8a07a2c..025a400 100644 --- a/joss_paper/paper.md +++ b/joss_paper/paper.md @@ -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: