Skip to content

Commit 4e0bc5f

Browse files
committed
Only allow deploy if build is successful
1 parent 32e24ca commit 4e0bc5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313
deploy:
1414
runs-on: ubuntu-latest
15+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1516
permissions:
1617
id-token: write
1718
steps:

0 commit comments

Comments
 (0)