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 }}