File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Master Trigger
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ api_branch :
7+ description : ' Branch to use for API build'
8+ required : true
9+ default : ' main'
10+ type : string
11+ frontend_branch :
12+ description : ' Branch to use for Frontend build'
13+ required : true
14+ default : ' main'
15+ type : string
16+ loadbalancer_branch :
17+ description : ' Branch to use for Loadbalancer build'
18+ required : true
19+ default : ' main'
20+ type : string
21+
22+ jobs :
23+ call-workflow-1-in-local-repo :
24+ name : API Build
25+ uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/api-build.yml@main
26+ with :
27+ ref : ${{ github.event.inputs.api_branch }}
28+ secrets : inherit
29+
30+ call-workflow-2-in-local-repo :
31+ name : Frontend Build
32+ uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/angular-build.yml@main
33+ with :
34+ ref : ${{ github.event.inputs.frontend_branch }}
35+ secrets : inherit
36+
37+ call-workflow-3-in-local-repo :
38+ name : Loadbalancer Build
39+ uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/loadbalancer.build.yml@main
40+ with :
41+ ref : ${{ github.event.inputs.loadbalancer_branch }}
42+ secrets : inherit
43+
44+ # call-workflow-4-in-local-repo:
45+ # name: AKS Deployment
46+ # uses: nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/deployment.yml@main
47+ # if: ${{ always() }}
48+ # needs: [call-workflow-1-in-local-repo, call-workflow-2-in-local-repo, call-workflow-3-in-local-repo]
49+ # secrets: inherit
You can’t perform that action at this time.
0 commit comments