Skip to content

Commit

Permalink
Bump pkgdown workflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Mar 3, 2024
1 parent 6b0c65e commit f664340
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
# Only deploy docs when master is changed
branches: [main, master]
release:
types: [published]
Expand All @@ -15,17 +16,18 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: pkgdown
# see https://github.com/r-lib/actions/tree/v2/setup-r-dependencies#installing-the-local-package
extra-packages: pkgdown, local::.
needs: website

- name: Deploy package
Expand Down

0 comments on commit f664340

Please sign in to comment.