Skip to content

Commit 5a44dcb

Browse files
Add missing dependency to pkgdown and make the job run (#338)
1 parent 4b34845 commit 5a44dcb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/pkgdown.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ name: pkgdown
1212

1313
jobs:
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 }}
@@ -27,7 +26,7 @@ jobs:
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

0 commit comments

Comments
 (0)