Skip to content

Commit

Permalink
ci(pkgodown): run dev branch pushes in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespeapen committed May 21, 2024
1 parent 29db4fb commit cea2aa1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
extra-packages: any::pkgdown, local::.
needs: website

- name: Set development mode
if: github.ref == 'refs/head/dev'
run: echo "PKGDOWN_DEV_MODE=devel" >> $GITHUB_ENV

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
Expand Down

0 comments on commit cea2aa1

Please sign in to comment.