Skip to content

Commit

Permalink
Testing yml fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-phelps committed Mar 18, 2024
1 parent 3e4118f commit c20c1aa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
branches: [main, master, dev]
release:
types: [published]
workflow_dispatch:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

# If not pull request a brand new webpage is deployed
# If not pull request a brand new webpage is deployed
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.5.0
Expand All @@ -48,8 +48,7 @@ jobs:
branch: gh-pages
folder: docs

# If pull request the webpage is deployed inside a dev/"PR number" folder for review

# If pull request the webpage is deployed inside a dev/"PR number" folder for review
- name: Add pkgdown PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit c20c1aa

Please sign in to comment.