Skip to content

Commit

Permalink
attempt at new gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAuriau committed May 25, 2024
1 parent 2377c12 commit 8a6de61
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/draft_paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@ jobs:
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
runs:
using: docker
image: 'docker://openjournals/inara:latest'
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: joss
args:
- p
- -o pdf
- docs/paper/paper.md
branding:
icon: file-text
color: blue

- name: Upload
uses: actions/upload-artifact@v4
Expand All @@ -27,4 +35,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: docs/paper/paper.pdf
path: docs/paper/paper.pdf

0 comments on commit 8a6de61

Please sign in to comment.