Skip to content

Commit fb008d9

Browse files
authored
Merge pull request #15 from codeguru42/fix-deploy
Tweak deploy workflow
2 parents 8a256b7 + 4e0bc5f commit fb008d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ on:
44
workflow_run:
55
workflows:
66
- Build
7+
branches:
8+
- main
79
types:
810
- completed
911

1012
jobs:
1113
deploy:
1214
runs-on: ubuntu-latest
15+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1316
permissions:
1417
id-token: write
1518
steps:

0 commit comments

Comments
 (0)