Skip to content

Commit

Permalink
Update example-doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Sep 11, 2024
1 parent f24c9a2 commit 22ccc1e
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions .github/workflows/example-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,40 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Build PDF
- name: Build draft PDF
run: >-
docker run \
--volume "$(pwd):/data" \
--user "$(id -u):$(id -g)" \
openjournals/inara:latest \
-o contextpdf example/paper.md
-o "jats,contextpdf,crossref,preprint" example/paper.md
- name: Upload PDF
- name: Upload draft PDF
uses: actions/upload-artifact@v3
with:
name: paper
path: example/paper.context.pdf
name: draft
path: |
example/jats/paper.jats
example/paper.context.pdf
example/paper.crossref
example/paper.pdf
example/paper.preprint.tex
- name: Build production PDF
run: >-
docker run \
--volume "$(pwd):/data" \
--user "$(id -u):$(id -g)" \
openjournals/inara:latest \
-o "jats,contextpdf,crossref,preprint" -p example/paper.md
- name: Upload production PDF
uses: actions/upload-artifact@v3
with:
name: production
path: |
example/jats/paper.jats
example/paper.context.pdf
example/paper.crossref
example/paper.pdf
example/paper.preprint.tex

0 comments on commit 22ccc1e

Please sign in to comment.