Skip to content

Commit f8f88ba

Browse files
committed
Only deploy if the workflow_run conclusion is successful
1 parent 6e725ed commit f8f88ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/preview-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ permissions:
1515

1616
jobs:
1717
deploy:
18+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1819
runs-on: ubuntu-latest
1920
steps:
2021
- name: Download PR data

0 commit comments

Comments
 (0)