Skip to content

Commit

Permalink
Try pkgdown adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed Aug 13, 2024
1 parent 9ab84d4 commit 5ca3e2a
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,31 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Setup
uses: eddelbuettel/github-actions/r-ci-setup@master

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Bootstrap
run: ./run.sh bootstrap

#- name: Dependencies
# run: ./run.sh install_deps

- name: All Dependencies
run: ./run.sh install_all

- name: Install pkgdown
run: |
R -e "
install.packages(c('pkgdown'));
"
- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
run: pkgdown::build_site_github_pages(new_process = FALSE, install = TRUE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
Expand Down

0 comments on commit 5ca3e2a

Please sign in to comment.