Skip to content

ADD: gh action to build pdf while drafting #1

ADD: gh action to build pdf while drafting

ADD: gh action to build pdf while drafting #1

Workflow file for this run

name: draft_paper

Check failure on line 1 in .github/workflows/draft_paper.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/draft_paper.yml

Invalid workflow file

`paper` is not a valid event name
on: paper
jobs:
paper:
name: Paper draft to PDF
runs-on: ubuntu-latest
steps:
- name: Checkout
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: docs/paper/paper.md
- name: Upload
uses: actions/upload-artifact@v4
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: docs/paper/paper.pdf