-
Notifications
You must be signed in to change notification settings - Fork 28
49 lines (44 loc) · 1.56 KB
/
Copy pathmain.yml
File metadata and controls
49 lines (44 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Master Trigger
on:
workflow_dispatch:
inputs:
api_branch:
description: 'Branch to use for API build'
required: true
default: 'main'
type: string
frontend_branch:
description: 'Branch to use for Frontend build'
required: true
default: 'main'
type: string
loadbalancer_branch:
description: 'Branch to use for Loadbalancer build'
required: true
default: 'main'
type: string
jobs:
call-workflow-1-in-local-repo:
name: API Build
uses: nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/api-build.yml@main
with:
ref: ${{ github.event.inputs.api_branch }}
secrets: inherit
call-workflow-2-in-local-repo:
name: Frontend Build
uses: nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/angular-build.yml@main
with:
ref: ${{ github.event.inputs.frontend_branch }}
secrets: inherit
call-workflow-3-in-local-repo:
name: Loadbalancer Build
uses: nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/loadbalancer.build.yml@main
with:
ref: ${{ github.event.inputs.loadbalancer_branch }}
secrets: inherit
# call-workflow-4-in-local-repo:
# name: AKS Deployment
# uses: nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/deployment.yml@${{ github.event.inputs.workflow_ref }}
# if: ${{ always() }}
# needs: [call-workflow-1-in-local-repo, call-workflow-2-in-local-repo, call-workflow-3-in-local-repo]
# secrets: inherit