Skip to content

Commit

Permalink
ci: change tmp dir for build_articles
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Oct 11, 2024
1 parent a76a71d commit e238fa3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions: read-all
jobs:
pkgdown:
runs-on: ubuntu-latest
container: rocker/rstudio:devel
container: bioconductor/bioconductor_docker:devel
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
Expand Down Expand Up @@ -67,12 +67,14 @@ jobs:
uses: r-lib/actions/setup-tinytex@v2

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

- name: Build site
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}
Expand Down

0 comments on commit e238fa3

Please sign in to comment.