-
Notifications
You must be signed in to change notification settings - Fork 34
79 lines (70 loc) · 1.81 KB
/
main.yml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Main
on:
push:
branches:
- main
jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
secrets: inherit
deploy-cms-production:
name: CMS Production
concurrency: deploy-cms-production
needs: test
uses: ./.github/workflows/deploy-cms.yml
with:
environment: production
secrets: inherit
deploy-functions-production:
name: Functions Production
concurrency: deploy-functions-production
needs: test
uses: ./.github/workflows/deploy-functions.yml
with:
environment: production
secrets: inherit
deploy-functions-staging:
name: Functions Staging
concurrency: deploy-functions-staging
needs: test
uses: ./.github/workflows/deploy-functions.yml
with:
environment: staging
secrets: inherit
deploy-ios-production:
name: iOS Production
concurrency: deploy-ios-production
needs: deploy-functions-production
uses: ./.github/workflows/deploy-codepush.yml
with:
environment: production
platform: ios
secrets: inherit
deploy-ios-staging:
name: iOS Staging
concurrency: deploy-ios-staging
needs: deploy-functions-staging
uses: ./.github/workflows/deploy-codepush.yml
with:
environment: staging
platform: ios
secrets: inherit
deploy-android-production:
name: Android Production
concurrency: deploy-android-production
needs: deploy-functions-production
uses: ./.github/workflows/deploy-codepush.yml
with:
environment: production
platform: android
secrets: inherit
deploy-android-staging:
name: Android Staging
concurrency: deploy-android-staging
needs: deploy-functions-staging
uses: ./.github/workflows/deploy-codepush.yml
with:
environment: staging
platform: android
secrets: inherit