Skip to content

Commit

Permalink
Update workflow so that joss paper only compiles if its modified
Browse files Browse the repository at this point in the history
  • Loading branch information
MetinSa committed Apr 28, 2024
1 parent a46cb20 commit 2eea4be
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push, workflow_dispatch]
on:
push:
paths: ["paper/**"]
pull_request:
paths: ["paper/**"]
workflow_dispatch:

jobs:
paper:
Expand All @@ -20,4 +25,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/paper.pdf
path: paper/paper.pdf

0 comments on commit 2eea4be

Please sign in to comment.