File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Release
2+
3+ on :
4+ workflow_run :
5+ workflows :
6+ - Testing and Checks
7+ branches :
8+ - v[0-9]+.[0-9]+.[0-9]+
9+ - v[0-9]+.[0-9]+
10+ - v[0-9]+
11+ types :
12+ - completed
13+
14+ jobs :
15+ on-success :
16+ runs-on : ubuntu-latest
17+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
18+ steps :
19+ - run : echo 'The triggering workflow passed'
20+ on-failure :
21+ runs-on : ubuntu-latest
22+ if : ${{ github.event.workflow_run.conclusion == 'failure' }}
23+ steps :
24+ - run : echo 'The triggering workflow failed'
Original file line number Diff line number Diff line change 1+ name : Deploy Staging
2+
3+ on :
4+ workflow_run :
5+ workflows :
6+ - Testing and Checks
7+ branches :
8+ - main
9+ types :
10+ - completed
11+
12+ jobs :
13+ on-success :
14+ runs-on : ubuntu-latest
15+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
16+ steps :
17+ - run : echo 'The triggering workflow passed'
18+ on-failure :
19+ runs-on : ubuntu-latest
20+ if : ${{ github.event.workflow_run.conclusion == 'failure' }}
21+ steps :
22+ - run : echo 'The triggering workflow failed'
You can’t perform that action at this time.
0 commit comments