Skip to content

Commit

Permalink
Update the pkgdown workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aursiber committed Jan 29, 2024
1 parent 00d07f8 commit f3642a5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,16 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
extra-packages: any::pkgdown, any::XML, local::.
extra-packages: any::pkgdown, local::.
needs: website
# See https://github.com/r-lib/actions/issues/559 for the XML issue

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

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@4.4.1
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
clean: false
branch: gh-pages
Expand Down

0 comments on commit f3642a5

Please sign in to comment.