From fecc6d3bbf5bf3e992a07af221c83fefad478cee Mon Sep 17 00:00:00 2001 From: Abhinav Jha Date: Wed, 12 Aug 2020 14:18:07 +0530 Subject: [PATCH] Add develop deploy context in netlify.toml (#284) --- app/client/netlify.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/client/netlify.toml b/app/client/netlify.toml index 195f047eaf..b075c55fea 100644 --- a/app/client/netlify.toml +++ b/app/client/netlify.toml @@ -1,6 +1,8 @@ [build] [build.environment] # REACT_APP_SENTRY_DSN= +# REACT_APP_SENTRY_ENVIRONMENT= +# REACT_APP_SENTRY_RELEASE= # REACT_APP_HOTJAR_HJID= # REACT_APP_HOTJAR_HJSV= # REACT_APP_OAUTH2_GOOGLE_CLIENT_ID= @@ -32,6 +34,11 @@ REACT_APP_BASE_URL = "https://release-api.appsmith.com" # Not adding an APP_HOST here because the URL is dynamic in nature and cannot be determined. +[context.develop] + [context.develop.environment] + REACT_APP_ENVIRONMENT = "STAGING" + REACT_APP_BASE_URL = "https://release-api.appsmith.com" + APP_HOST = "develop.app.appsmith.com" [[headers]] for = "/static/*"