From 43b1b718d315c59ac4294e1df55875bd8a08c91b Mon Sep 17 00:00:00 2001 From: Joe Vincent Date: Mon, 10 Jun 2024 08:39:36 -0700 Subject: [PATCH] Create draft-pdf.yml gh action for compiling pdf of joss paper --- .github/workflows/draft-pdf.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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..b5345e5 --- /dev/null +++ b/.github/workflows/draft-pdf.yml @@ -0,0 +1,30 @@ +name: Draft PDF +on: + push: + paths: + - joss/** + - .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 + paper-path: joss/paper.md + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: paper + path: joss/paper.pdf + - name: Commit PDF to repository + uses: EndBug/add-and-commit@v9 + with: + message: '(auto) Paper PDF Draft' + add: 'joss/paper.pdf' +