Skip to content

Commit

Permalink
update pkgdown website action
Browse files Browse the repository at this point in the history
  • Loading branch information
venpopov committed Mar 22, 2024
1 parent d067f23 commit c855842
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,42 @@ jobs:

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
rtools-version: ${{ matrix.config.rtools }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
dependencies: NA
extra-packages: |
any::pkgdown
local::.
rmarkdown
withr
knitr
posterior
here
stan-dev/cmdstanr
rmarkdown
bookdown
tidybayes
ggplot2
mixtur
ggthemes
cowplot
stringr
remotes
waldo
fansi
needs: website

- name: Build Cmdstan
run: |
cmdstanr::check_cmdstan_toolchain(fix = TRUE)
cmdstanr::install_cmdstan(cores = parallel::detectCores())
shell: Rscript {0}

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
Expand Down

0 comments on commit c855842

Please sign in to comment.