Skip to content

Commit

Permalink
feat: adding proper trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
arunavabasucom committed Jul 19, 2023
1 parent 6e7c94c commit c3b71e2
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 🌱 Draft Paper
name: 📖 Draft Paper

on:
push:
branches:
- main
paths:
- './paper/**'
pull_request:
branches:
- main
paths:
- './paper/**'


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

0 comments on commit c3b71e2

Please sign in to comment.