Skip to content

Commit f64b764

Browse files
committed
ci: add a condition to check if event is pull request
1 parent b16111d commit f64b764

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-deploy-doc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
command: pages deploy --project-name=documentation dist/
5757

5858
- name: Comment with preview URL
59+
if: github.event_name == 'pull_request'
5960
uses: actions/github-script@v7
6061
with:
6162
script: |

0 commit comments

Comments
 (0)