Skip to content

Commit e20814a

Browse files
author
Robert Sokol
committed
add conditional deploys based on build success
1 parent 106fc88 commit e20814a

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
@@ -8,6 +8,7 @@ on:
88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1112
permissions:
1213
contents: write
1314
steps:

0 commit comments

Comments
 (0)