Skip to content

Commit

Permalink
Doc previews per #176
Browse files Browse the repository at this point in the history
  • Loading branch information
anngvu committed Mar 12, 2024
1 parent 04c7011 commit 4b1ccd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy preview for PRs
if: github.event_name == 'pull_request'
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./docs

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 4b1ccd4

Please sign in to comment.