From 026b6c110cc8106f77c8b8c44b05009ef70c811d Mon Sep 17 00:00:00 2001 From: Andy Teucher Date: Mon, 8 Jul 2024 16:35:13 -0700 Subject: [PATCH] Simplify GitHub Action for rendering --- .github/workflows/quarto-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/quarto-publish.yml b/.github/workflows/quarto-publish.yml index a11e4a5..b847b9e 100644 --- a/.github/workflows/quarto-publish.yml +++ b/.github/workflows/quarto-publish.yml @@ -20,14 +20,13 @@ jobs: # version: 0.9.600 - uses: r-lib/actions/setup-r@v2 + - uses: r-lib/actions/setup-r-dependencies@v2 with: - packages: knitr, rmarkdown, quarto, stringr, purrr + packages: knitr, stringr, purrr - name: Render PDF - run: | - quarto::quarto_render("_make_pdf.qmd") - shell: Rscript {0} + run: quarto render _make_pdf.qmd - name: Commit files run: |