Skip to content

Commit bc33f98

Browse files
committed
#15 - don't deploy github pages from PR.
1 parent 028cc7d commit bc33f98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cd.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,5 @@ jobs:
6969
path: './docs/'
7070
- name: Deploy to GitHub Pages
7171
id: deployment
72-
uses: actions/deploy-pages@v2
72+
uses: actions/deploy-pages@v2
73+
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'

0 commit comments

Comments
 (0)