From d34d36adaf70ff86b87a574f5839a67d2a807aee Mon Sep 17 00:00:00 2001 From: yemeen Date: Wed, 1 Oct 2025 12:25:37 -0400 Subject: [PATCH 1/2] Add workflow to compile paper draft and upload PDF --- .github/workflows/compile-paper.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/compile-paper.yml diff --git a/.github/workflows/compile-paper.yml b/.github/workflows/compile-paper.yml new file mode 100644 index 0000000..05d0598 --- /dev/null +++ b/.github/workflows/compile-paper.yml @@ -0,0 +1,23 @@ +on: [push, workflow_dispatch] + +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: 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: paper/paper.pdf From 37a8c937afd4e024ef7d59f60dc53bda0f1a38f0 Mon Sep 17 00:00:00 2001 From: yemeen Date: Wed, 1 Oct 2025 13:35:49 -0400 Subject: [PATCH 2/2] fix pr error --- .github/workflows/compile-paper.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile-paper.yml b/.github/workflows/compile-paper.yml index 05d0598..1336b78 100644 --- a/.github/workflows/compile-paper.yml +++ b/.github/workflows/compile-paper.yml @@ -1,4 +1,7 @@ -on: [push, workflow_dispatch] +on: + push: + branches: [JOSS-Paper] + workflow_dispatch: jobs: paper: