Skip to content

Commit 6ae4dcc

Browse files
committed
Run deploy workflow only when e2e workflow passed
This condition makes sure the deployment is triggered only when e2e test passed.
1 parent 675db9d commit 6ae4dcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
name: Build and push image
1616
runs-on: ubuntu-latest
1717

18+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
19+
1820
steps:
1921
- uses: actions/checkout@v2
2022

0 commit comments

Comments
 (0)