-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (54 loc) · 2.1 KB
/
production.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
name: 'Production'
on:
push:
branches:
- 'main'
jobs:
format-version-code:
uses: ZeroGachis/.github/.github/workflows/android-format-version-code.yml@v3
create-apk:
uses: ZeroGachis/.github/.github/workflows/create-apk-artifact.yml@v3
needs: [format-version-code]
with:
version-code: ${{ needs.format-version-code.outputs.version-code }}
s3-path: storybook-react-native-design-system
java-version: 11
node-version: 18
package-name: com.storybook
working-directory: ./Storybook
configuration: release
vault-path: storybook-design-system
vault-url: ${{ vars.VAULT_URL }}
is-library-package: true
environment: main
secrets: inherit
publish-bundle:
uses: ZeroGachis/.github/.github/workflows/publish-bundle-codepush.yml@v3
needs: [create-apk]
with:
node-version: 18
codepush-app: smartway-ai/storybook-smartapp
vault-path: storybook-design-system
vault-url: ${{ vars.VAULT_URL }}
is-library-package: true
apk-version: ${{ needs.create-apk.outputs.apk-version}}
working-directory: ./Storybook
secrets: inherit
publish-s3:
uses: ZeroGachis/.github/.github/workflows/publish-apk-s3.yml@v3
needs: [create-apk]
with:
apk-artifact-name: ${{ needs.create-apk.outputs.apk-artifact-name }}
apk-name: ${{ needs.create-apk.outputs.apk-name }}
apk-version: ${{ needs.create-apk.outputs.apk-version}}
vault-path: storybook-design-system
vault-url: ${{ vars.VAULT_URL }}
s3-path: storybook-react-native-design-system
secrets: inherit
publish-soti:
needs: [create-apk]
uses: ZeroGachis/.github/.github/workflows/publish-apk-soti.yml@v3
with:
apk-name: ${{ needs.create-apk.outputs.apk-name }}
apk-artifact-name: ${{ needs.create-apk.outputs.apk-artifact-name}}
secrets: inherit