Merge branch 'feature/appsmith-production-staging-distinction' into 'release'
Adding the netlify.toml for deploy contexts for different environment... See merge request theappsmith/internal-tools-client!159
This commit is contained in:
commit
00a2f8aac9
15
app/client/netlify.toml
Normal file
15
app/client/netlify.toml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[context.production]
|
||||
[context.production.environment]
|
||||
REACT_APP_ENVIRONMENT = "PRODUCTION"
|
||||
|
||||
[context.release]
|
||||
[context.release.environment]
|
||||
REACT_APP_ENVIRONMENT = "STAGING"
|
||||
|
||||
[context.develop]
|
||||
[context.develop.environment]
|
||||
REACT_APP_ENVIRONMENT = "DEVELOPMENT"
|
||||
|
||||
[context.deploy-preview]
|
||||
[context.deploy-preview.environment]
|
||||
REACT_APP_ENVIRONMENT = "DEVELOPMENT"
|
||||
|
|
@ -45,6 +45,8 @@ export const appInitializer = () => {
|
|||
case "STAGING":
|
||||
Sentry.init(SENTRY_STAGE_CONFIG);
|
||||
break;
|
||||
case "DEVELOPMENT":
|
||||
break;
|
||||
case "LOCAL":
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user