Skip to content

Commit

Permalink
Using Renv instead of the install package to render site.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristof Van Der Haeghen committed Jan 26, 2024
1 parent 5316d6e commit 113e91e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/github-action-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ jobs:
- uses: actions/checkout@v3
- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Setup Pandoc
uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '3.1.1'
- name: Install packages
run: Rscript -e 'install.packages("rmarkdown")'
- name: Setup Renv
uses: r-lib/actions/setup-renv@v2
- name: Render Site
run: Rscript -e 'rmarkdown::render_site(input = "webBuild", output_format = "all", envir = parent.frame(), quiet = FALSE, encoding = "UTF-8")'
- name: Commit results
Expand Down

0 comments on commit 113e91e

Please sign in to comment.