Skip to content

Commit

Permalink
Update pkgdown.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy authored Jan 15, 2024
1 parent 5391180 commit d70e5e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3

Expand All @@ -30,18 +32,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/[email protected].4
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
clean: false
branch: gh-pages
Expand Down

0 comments on commit d70e5e9

Please sign in to comment.