From 5a44dcb2502e7dead8e8e0a7f3347fc46d22201c Mon Sep 17 00:00:00 2001 From: Neal Richardson Date: Tue, 9 Jul 2024 16:55:13 -0400 Subject: [PATCH] Add missing dependency to pkgdown and make the job run (#338) --- .github/workflows/pkgdown.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 736872b8..54dade2a 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -12,7 +12,6 @@ name: pkgdown jobs: pkgdown: - if: ${{ github.event_name == 'push' || startsWith(github.head_ref, 'pkgdown/') }} runs-on: ubuntu-latest env: GITHUB_PAT: ${{ secrets.GHA_PAT }} @@ -27,7 +26,7 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::pkgdown, local::. + extra-packages: any::pkgdown, github::rstudio/quillt, local::. needs: website - name: Install package @@ -43,10 +42,12 @@ jobs: git config --local user.name "GitHub Actions" - name: Deploy package + if: ${{ github.event_name == 'push' || startsWith(github.head_ref, 'pkgdown/') }} run: pkgdown::deploy_to_branch(new_process = FALSE) shell: Rscript {0} - name: Deploy to Netlify + if: ${{ github.event_name == 'push' || startsWith(github.head_ref, 'pkgdown/') }} id: netlify-deploy uses: nwtgck/actions-netlify@v1.1 # NETLIFY_AUTH_TOKEN added in the repo's secrets