Skip to content

🔧 update joss pdf paper gen workflow trigger (#422) #14

🔧 update joss pdf paper gen workflow trigger (#422)

🔧 update joss pdf paper gen workflow trigger (#422) #14

Workflow file for this run

name: Generate JOSS PDF Paper

Check failure on line 1 in .github/workflows/draft-pdf.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/draft-pdf.yml

Invalid workflow file

`pull-request` is not a valid event name
on:
# manual trigger
workflow-dispatch:
# Triggers the workflow on push event for paper branch
pull-request:
branches: [ "paper" ]
jobs:
paper:
runs-on: ubuntu-latest
name: Paper Draft
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: paper
- name: Build draft PDF
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
paper-path: paper.md
- name: Upload
uses: actions/upload-artifact@v1
with:
name: paper
path: paper.pdf