-
Notifications
You must be signed in to change notification settings - Fork 12
/
netlify.toml
21 lines (16 loc) · 774 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[build]
command = "yarn build --environment=staging"
[context.develop]
command = "yarn build --environment=development"
environment = { API_URL = "https://factfinder-api-develop.herokuapp.com" }
[context.staging]
command = "yarn build --environment=staging"
environment = { API_URL = "https://factfinder-api-staging.herokuapp.com" }
[context.carto-staging]
command = "yarn build --environment=carto-staging"
environment = { CARTO_USERNAME = "dcpadmin", API_URL = "https://factfinder-api-carto-staging.herokuapp.com" }
[context.deploy-preview]
environment = { API_URL = "https://factfinder-api-staging.herokuapp.com" }
[context.master]
environment = { API_URL = "https://factfinder-api.herokuapp.com" }
command = "yarn build --environment=production"