From a402343dfc447c43f927a5387c724e050bdccc4c Mon Sep 17 00:00:00 2001 From: voetberg Date: Wed, 12 Jul 2023 08:56:52 -0500 Subject: [PATCH 1/2] Adding the joss make paper action --- .github/workflows/make_pdf.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/make_pdf.yml diff --git a/.github/workflows/make_pdf.yml b/.github/workflows/make_pdf.yml new file mode 100644 index 0000000..971cce1 --- /dev/null +++ b/.github/workflows/make_pdf.yml @@ -0,0 +1,23 @@ +on: [push] + +jobs: + paper: + runs-on: ubuntu-latest + name: Paper Draft + steps: + - name: Checkout + uses: actions/checkout@v3 + - 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: paper.md + - name: Upload + uses: actions/upload-artifact@v1 + 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: paper.pdf From 4ea1f03ec60cbddfed280e75547ddc8eae53e866 Mon Sep 17 00:00:00 2001 From: voetberg Date: Wed, 12 Jul 2023 08:59:25 -0500 Subject: [PATCH 2/2] Correct paper path --- .github/workflows/make_pdf.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make_pdf.yml b/.github/workflows/make_pdf.yml index 971cce1..f85b711 100644 --- a/.github/workflows/make_pdf.yml +++ b/.github/workflows/make_pdf.yml @@ -12,7 +12,7 @@ jobs: with: journal: joss # This should be the path to the paper within your repo. - paper-path: paper.md + paper-path: paper/paper.md - name: Upload uses: actions/upload-artifact@v1 with: @@ -20,4 +20,4 @@ jobs: # 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: paper.pdf + path: paper/paper.pdf