Skip to content

Commit

Permalink
try 2 with container
Browse files Browse the repository at this point in the history
  • Loading branch information
lskatz committed May 21, 2024
1 parent 8004a21 commit 29dcd7b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/draft-docx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,20 @@ on:
- 'paper/**'
- '.github/workflows/draft-pdf.yml'

name: JOSS rendering
name: JOSS docx rendering

jobs:
paper:
runs-on: ubuntu-latest
name: Paper Draft
container:
image: openjournals/inara:latest
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: joss
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build draft docx
using: docker
image: 'docker://openjournals/inara:latest'
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: joss
args:
- -o docx
- paper/paper.md
run: inara -o docx paper/paper.md

10 changes: 7 additions & 3 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
on:
push:
branches: [paper]
name: JOSS rendering
push:
branches: [paper]
paths:
- 'paper/**'
- '.github/workflows/draft-pdf.yml'

name: JOSS pdf rendering

jobs:
paper:
Expand Down

0 comments on commit 29dcd7b

Please sign in to comment.