-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
50 lines (41 loc) · 1.87 KB
/
netlify.toml
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
[build.environment]
REACT_APP_DEV_BAR=""
REACT_APP_AUTH0_DOMAIN="kids-first.auth0.com"
[context.awsprod]
publish = "build/"
[context.awsprod.environment]
REACT_APP_ENV = "prd"
REACT_APP_AUTH0_REDIRECT_URI = "https://data-tracker.kidsfirstdrc.org/callback"
REACT_APP_AUTH0_LOGOUT_REDIRECT_URI = "https://data-tracker.kidsfirstdrc.org/logout"
REACT_APP_STUDY_API = "https://kf-api-study-creator.kidsfirstdrc.org"
REACT_APP_PRIMARY_HOST = "https://data-tracker.kidsfirstdrc.org"
REACT_APP_REDIRECT_TO_PRIMARY = "true"
[context.production]
publish = "build/"
ignore = "./build_check.sh"
[context.production.environment]
REACT_APP_ENV = "qa"
REACT_APP_AUTH0_REDIRECT_URI = "https://data-tracker-qa.kidsfirstdrc.org/callback"
REACT_APP_AUTH0_LOGOUT_URI = "https://data-tracker-qa.kidsfirstdrc.org/logout"
REACT_APP_PRIMARY_HOST = "https://data-tracker-qa.kidsfirstdrc.org"
REACT_APP_REDIRECT_TO_PRIMARY = "true"
REACT_APP_STUDY_API = "https://kf-api-study-creator-qa.kidsfirstdrc.org"
REACT_APP_AMPLITUDE_KEY = "0dd725bc46163f46b3abad77d4e9590c"
[context.deploy-preview]
publish = "build/"
command = "REACT_APP_AUTH0_REDIRECT_URI=$DEPLOY_PRIME_URL/callback REACT_APP_AUTH0_LOGOUT_REDIRECT_URI=$DEPLOY_PRIME_URL/logout yarn build"
[context.deploy-preview.environment]
REACT_APP_ENV = "dev"
REACT_APP_STUDY_API = "https://kf-api-study-creator-dev.kidsfirstdrc.org"
REACT_APP_AMPLITUDE_KEY = "0dd725bc46163f46b3abad77d4e9590c"
[context.branch-deploy]
publish = "build/"
command = "REACT_APP_AUTH0_REDIRECT_URI=$DEPLOY_PRIME_URL/callback REACT_APP_AUTH0_LOGOUT_REDIRECT_URI=$DEPLOY_PRIME_URL/logout yarn build"
[context.branch-deploy.environment]
REACT_APP_ENV = "dev"
REACT_APP_STUDY_API = "https://kf-study-creator-dev.kidsfirstdrc.org"
REACT_APP_AMPLITUDE_KEY = "0dd725bc46163f46b3abad77d4e9590c"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200