-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Revert "streamline netlify environments"""
This reverts commit e4ac6e1.
- Loading branch information
1 parent
1bf8a65
commit 634666f
Showing
1 changed file
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
[build] | ||
command = "yarn build" | ||
environment = {} | ||
|
||
[context.develop] | ||
command = "yarn build --environment=development" | ||
|
||
[context.develop.environment] | ||
API_HOST="https://layers-api-staging.planninglabs.nyc" | ||
CARTO_USER="dcpadmin" | ||
command = "CARTO_USER=dcpadmin API_HOST=https://layers-api-staging.planninglabs.nyc yarn build --environment=staging" | ||
environment = {} | ||
|
||
[context.data-qa] | ||
command = "CARTO_USER=dcpadmin API_HOST=https://layers-api-data.planninglabs.nyc yarn build --environment=staging" | ||
environment = {} | ||
|
||
[context.data-qa.environment] | ||
API_HOST="https://layers-api-data.planninglabs.nyc" | ||
CARTO_USER="dcpadmin" | ||
|
||
[context.production] | ||
|
||
[context.production.environment] | ||
API_HOST="https://layers-api.planninglabs.nyc" | ||
CARTO_USER="planninglabs" | ||
[context.master] | ||
command = "CARTO_USER=planninglabs API_HOST=https://layers-api.planninglabs.nyc yarn build --environment=production" | ||
environment = {} |