Skip to content

Commit

Permalink
Merge pull request #410 from boxydog/fix_pkgdown
Browse files Browse the repository at this point in the history
Update github actions in pkgdown
  • Loading branch information
mitchelloharawild committed Feb 1, 2024
2 parents dc3cb5f + a0489a6 commit 5d2e6cd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/pkgdown.yaml
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,19 @@ 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
# "local::." installs fable
# 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 5d2e6cd

Please sign in to comment.