File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ name: pkgdown
1212
1313jobs :
1414 pkgdown :
15- if : ${{ github.event_name == 'push' || startsWith(github.head_ref, 'pkgdown/') }}
1615 runs-on : ubuntu-latest
1716 env :
1817 GITHUB_PAT : ${{ secrets.GHA_PAT }}
2726
2827 - uses : r-lib/actions/setup-r-dependencies@v2
2928 with :
30- extra-packages : any::pkgdown, local::.
29+ extra-packages : any::pkgdown, github::rstudio/quillt, local::.
3130 needs : website
3231
3332 - name : Install package
@@ -43,10 +42,12 @@ jobs:
4342 git config --local user.name "GitHub Actions"
4443
4544 - name : Deploy package
45+ if : ${{ github.event_name == 'push' || startsWith(github.head_ref, 'pkgdown/') }}
4646 run : pkgdown::deploy_to_branch(new_process = FALSE)
4747 shell : Rscript {0}
4848
4949 - name : Deploy to Netlify
50+ if : ${{ github.event_name == 'push' || startsWith(github.head_ref, 'pkgdown/') }}
5051 id : netlify-deploy
5152 uses : nwtgck/actions-netlify@v1.1
5253 # NETLIFY_AUTH_TOKEN added in the repo's secrets
You can’t perform that action at this time.
0 commit comments