From f6643409cb71c8c3e25affb73f23332469eeb72b Mon Sep 17 00:00:00 2001 From: mitchelloharawild Date: Sun, 3 Mar 2024 15:34:16 +1100 Subject: [PATCH] Bump pkgdown workflow versions --- .github/workflows/pkgdown.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 63cbb18a..65c91b58 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -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] @@ -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