From 29dcd7b25698c3154893aedfb6aeec88d726d5d7 Mon Sep 17 00:00:00 2001 From: Lee Katz - Aspen Date: Tue, 21 May 2024 14:41:26 -0400 Subject: [PATCH] try 2 with container --- .github/workflows/draft-docx.yml | 16 +++++++--------- .github/workflows/draft-pdf.yml | 10 +++++++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/draft-docx.yml b/.github/workflows/draft-docx.yml index bd4badc..a865143 100644 --- a/.github/workflows/draft-docx.yml +++ b/.github/workflows/draft-docx.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/draft-pdf.yml b/.github/workflows/draft-pdf.yml index 6619798..0cbe972 100644 --- a/.github/workflows/draft-pdf.yml +++ b/.github/workflows/draft-pdf.yml @@ -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: