Skip to content

Commit

Permalink
ci: change R tempdir
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Oct 11, 2024
1 parent 43c9b16 commit bd6e5e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
if: runner.os == 'Linux'
run: |
mkdir /__w/_temp/Library
mkdir /__w/_temp/Rtmp
echo ".libPaths('/__w/_temp/Library')" > ~/.Rprofile
- name: Checkout package
Expand Down Expand Up @@ -70,7 +71,10 @@ jobs:
shell: Rscript {0}

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
run: |
install.packages("unixtools", repos = "http://www.rforge.net/")
unixtools::set.tempdir("/__w/_temp/Rtmp")
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE,preview = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
Expand Down

0 comments on commit bd6e5e8

Please sign in to comment.