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: