From eb30777789833d45f0df96c9c10d90d23d316ee2 Mon Sep 17 00:00:00 2001 From: Brian Nord <184985+bnord@users.noreply.github.com> Date: Thu, 4 Jul 2024 11:58:12 -0500 Subject: [PATCH] Update and rename paper.yml to draft-pdf.yml --- .github/workflows/{paper.yml => draft-pdf.yml} | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) rename .github/workflows/{paper.yml => draft-pdf.yml} (69%) diff --git a/.github/workflows/paper.yml b/.github/workflows/draft-pdf.yml similarity index 69% rename from .github/workflows/paper.yml rename to .github/workflows/draft-pdf.yml index 6563593..3509d30 100644 --- a/.github/workflows/paper.yml +++ b/.github/workflows/draft-pdf.yml @@ -1,4 +1,9 @@ -on: [push] +name: Draft PDF +on: + push: + paths: + - paper/** + - .github/workflows/draft-pdf.yml jobs: paper: @@ -6,18 +11,18 @@ jobs: name: Paper Draft steps: - name: Checkout - uses: actions/checkout@v3 + 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 + paper-path: paper.md - name: Upload - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 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 \ No newline at end of file + path: paper.pdf