Skip to content

Commit

Permalink
set up renv
Browse files Browse the repository at this point in the history
  • Loading branch information
melaniewalsh committed Jan 13, 2025
1 parent 9bd577a commit 1e0692d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ jobs:
# This is created with renv
# You can read more here: https://rstudio.github.io/renv/articles/renv.html
# You can basically take a snapshot of your current environment, and it puts it in renv/ and renv.lock
# - name: Install R Dependencies
# uses: r-lib/actions/setup-renv@v2
# with:
# cache-version: 1
# # Because of the way we've reorganized files, I'm specifying that renv/ lives in the website/ directory (as opposed to the current working directory or root)
# working-directory: website
- name: Install R Dependencies
uses: r-lib/actions/setup-renv@v2
with:
cache-version: 1
# Because of the way we've reorganized files, I'm specifying that renv/ lives in the website/ directory (as opposed to the current working directory or root)
working-directory: website

# Render and publish the website
# If file paths are wrong, that will break the whole site, so really try to read through the errors
Expand Down
3 changes: 3 additions & 0 deletions website/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ render:
- team:
output-dir: ../docs/team

execute:
freeze: auto

website:
image: images/responsible-logo.png
twitter-card: true
Expand Down

0 comments on commit 1e0692d

Please sign in to comment.