Skip to content

Commit b0116b5

Browse files
committed
only update pkgdown on push to main
1 parent 2e87fce commit b0116b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
shell: Rscript {0}
161161

162162
- name: Deploy to GitHub pages 🚀
163-
if: github.ref != 'refs/heads/dev' && matrix.config.os == 'ubuntu-latest'
163+
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.config.os == 'ubuntu-latest'
164164
uses: JamesIves/github-pages-deploy-action@v4.4.1
165165
with:
166166
clean: false

0 commit comments

Comments
 (0)