-
Notifications
You must be signed in to change notification settings - Fork 4
54 lines (49 loc) · 1.28 KB
/
continuous-deployment.yml
File metadata and controls
54 lines (49 loc) · 1.28 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
50
51
52
53
54
name: Continuous Deployment Pipeline
on:
push:
branches:
- master
jobs:
deploy-internal-dev:
uses: ./.github/workflows/deploy-backend.yml
with:
apigee_environment: internal-dev
create_mns_subscription: true
environment: dev
sub_environment: internal-dev
secrets:
STATUS_API_KEY:
required: true
deploy-internal-dev-sandbox:
uses: ./.github/workflows/deploy-backend.yml
with:
apigee_environment: internal-dev-sandbox
environment: dev
sub_environment: internal-dev-sandbox
secrets:
STATUS_API_KEY:
required: true
deploy-sandbox:
needs: [deploy-internal-dev-sandbox]
uses: ./.github/workflows/deploy-backend.yml
with:
apigee_environment: sandbox
environment: dev
sub_environment: sandbox
secrets:
STATUS_API_KEY:
required: true
deploy-higher-dev-envs:
needs: [deploy-internal-dev]
strategy:
matrix:
sub_environment_name: [ref, int]
uses: ./.github/workflows/deploy-backend.yml
with:
apigee_environment: ${{ matrix.sub_environment_name }}
create_mns_subscription: true
environment: dev
sub_environment: ${{ matrix.sub_environment_name }}
secrets:
STATUS_API_KEY:
required: true