From a1642cb0b6b83f1b7eaefcbf4ed85aad74662be2 Mon Sep 17 00:00:00 2001 From: boxydog Date: Wed, 31 Jan 2024 08:39:54 -0600 Subject: [PATCH 1/2] Update github actions in pkgdown --- .github/workflows/pkgdown.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 63cbb18a..737b3de3 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -2,7 +2,6 @@ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: - branches: [main, master] release: types: [published] workflow_dispatch: @@ -15,15 +14,15 @@ 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 needs: website From a0489a6ee900e9a9f607699569edf916c15eb04a Mon Sep 17 00:00:00 2001 From: boxydog Date: Wed, 31 Jan 2024 15:12:38 -0600 Subject: [PATCH 2/2] Install fable in pkgdown --- .github/workflows/pkgdown.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 737b3de3..32210c06 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -2,6 +2,8 @@ # 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] workflow_dispatch: @@ -24,7 +26,9 @@ jobs: - 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