Skip to content

Commit 12d0fdd

Browse files
committed
chore: only run preview on pull request
1 parent 148b02c commit 12d0fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
name: Preview
5555
runs-on: ubuntu-latest
5656
needs: [prepare]
57-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
57+
if: "!contains(github.event.head_commit.message, '[skip ci]') && github.event_name == 'pull_request'"
5858
permissions:
5959
contents: read
6060
pull-requests: write

0 commit comments

Comments
 (0)