Skip to content

Commit e0a0f12

Browse files
update
1 parent 6a0029d commit e0a0f12

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,23 @@ jobs:
1313
steps:
1414
- name: Check out repository
1515
uses: actions/checkout@v4
16-
17-
- name: Install and activate renv
18-
run: |
19-
.libPaths()
20-
install.packages("knitr")
21-
install.packages("rmarkdown")
22-
renv::activate()
23-
renv::restore()
24-
shell: Rscript {0}
25-
16+
2617
- name: Set up Quarto
2718
uses: quarto-dev/quarto-actions/setup@v2
2819

20+
- name: Install R
21+
uses: r-lib/actions/setup-r@v2
22+
with:
23+
r-version: '4.3.2'
24+
25+
- name: Install R Dependencies
26+
uses: r-lib/actions/setup-renv@v2
27+
with:
28+
cache-version: 1
29+
2930
- name: Render and Publish
3031
uses: quarto-dev/quarto-actions/publish@v2
3132
with:
3233
target: gh-pages
3334
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)