Skip to content

Commit a4ad681

Browse files
update CI workflow to trigger on successful deployment status for 'Preview' environment
1 parent e139603 commit a4ad681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/panda-webhook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
run-e2es:
12-
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
12+
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Preview'
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Print environment

0 commit comments

Comments
 (0)