Skip to content

Commit

Permalink
Change GH actions workflow to include dependencies for PDF rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobarendt committed Aug 17, 2024
1 parent 620c3c1 commit 0c1543e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Runs a single command using the runners shell
# - name: Run a one-line script
Expand All @@ -46,6 +46,13 @@ jobs:
# uncomment below and fill to pin a version
# version: SPECIFIC-QUARTO-VERSION-HERE

- name: Download R dependencies for rendering to PDF
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages:
any::rmarkdown
any::knitr

- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
Expand Down

0 comments on commit 0c1543e

Please sign in to comment.