Skip to content

Commit 0633d8d

Browse files
committed
run preview on every pr commit
1 parent 295253c commit 0633d8d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/preview.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,10 @@ env:
33
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
44
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
55
on:
6-
issue_comment:
7-
types: [created]
6+
pull_request:
87
jobs:
98
deploy:
109
runs-on: ubuntu-latest
11-
# todo skip already created deploys on that commit
12-
if: >-
13-
github.event.issue.pull_request != '' &&
14-
(
15-
contains(github.event.comment.body, '/deploy')
16-
)
1710
permissions:
1811
pull-requests: write
1912
steps:

0 commit comments

Comments
 (0)