From 62e9c3afb9bd2aaa1a82ebf913024ba99917c35a Mon Sep 17 00:00:00 2001 From: Matthew Blackwell Date: Sun, 9 Jun 2024 09:07:31 -0400 Subject: [PATCH] render on github --- .github/workflows/publish.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4892af2..ac45321 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,19 +13,21 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v3 + + - name: Set up R (needed for Rmd) + uses: r-lib/actions/setup-r@v2 + + - name: Install packages (needed for Rmd) + run: Rscript -e 'install.packages(c("rmarkdown", "knitr", "jsonlite"))' - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 with: tinytex: true - - - name: Render Book project - uses: quarto-dev/quarto-actions/render@v2 - name: Publish HTML book uses: quarto-dev/quarto-actions/publish@v2 with: target: gh-pages - render: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}