-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (38 loc) · 1.15 KB
/
build-prod.yml
File metadata and controls
43 lines (38 loc) · 1.15 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
name: Prod build and upload
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build.yml
secrets:
google-api-key: ${{ secrets.GOOGLE_API_KEY_PROD }}
firebase-api-key: ${{ secrets.FIREBASE_API_KEY_PROD }}
stripe-api-key: ${{ secrets.STRIPE_LIVE_KEY }}
recaptcha-api-key: ${{ secrets.RECAPTCHA_API_KEY }}
fusionauth-host: ${{ secrets.FUSIONAUTH_PROD_HOST }}
stela-domain: ${{ secrets.STELA_DOMAIN_PROD }}
mixpanel-token: ${{ secrets.MIXPANEL_TOKEN_PROD }}
fontawesome-token: ${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
with:
build-command: 'build'
artifact-name: 'prod'
build-storybook:
uses: ./.github/workflows/build-storybook.yml
secrets: inherit
with:
artifact-name: 'prod'
upload-sourcemaps:
needs: build
uses: ./.github/workflows/upload-sourcemaps.yml
secrets: inherit
with:
artifact-name: 'prod'
upload-code:
needs: [build, build-storybook]
uses: ./.github/workflows/upload-code.yml
secrets: inherit
with:
artifact-name: 'prod'
s3-destination: 's3://permanent-repos/prod/mdot.tar.gz'