From 2ef57752b7a7db494b4b8de34d83cfaa784344d6 Mon Sep 17 00:00:00 2001 From: David Ly Date: Wed, 3 Jul 2024 11:24:22 +0200 Subject: [PATCH] Added admin env to drive app --- apps/drive-app/.env-cmdrc.json | 8 ++++++++ apps/drive-app/package.json | 1 + 2 files changed, 9 insertions(+) diff --git a/apps/drive-app/.env-cmdrc.json b/apps/drive-app/.env-cmdrc.json index 05197acb4..3992a027e 100644 --- a/apps/drive-app/.env-cmdrc.json +++ b/apps/drive-app/.env-cmdrc.json @@ -44,6 +44,14 @@ "REACT_APP_AUTH_CLIENT_ID": "O7geYcPM6zEJrHw0WvQVzSIzw4WzrAtH", "REACT_APP_SENTRY_DSN": "https://496e3a7f8e04df38e76d579c27c30e87@o4505669501648896.ingest.us.sentry.io/4507169054326784" }, + "admin": { + "REACT_APP_ENVIRONMENT": "admin", + "REACT_APP_LIVE_CONFIG_ID": "drive-admin-app-production", + "REACT_APP_AUTH_DOMAIN": "idp.monk.ai", + "REACT_APP_AUTH_AUDIENCE": "https://api.monk.ai/v1/", + "REACT_APP_AUTH_CLIENT_ID": "O7geYcPM6zEJrHw0WvQVzSIzw4WzrAtH", + "REACT_APP_SENTRY_DSN": "https://496e3a7f8e04df38e76d579c27c30e87@o4505669501648896.ingest.us.sentry.io/4507169054326784" + }, "backend-staging-qa": { "REACT_APP_ENVIRONMENT": "backend-staging-qa", "REACT_APP_LIVE_CONFIG_ID": "drive-app-backend-staging-qa", diff --git a/apps/drive-app/package.json b/apps/drive-app/package.json index a27561c14..4bf11b2c9 100644 --- a/apps/drive-app/package.json +++ b/apps/drive-app/package.json @@ -12,6 +12,7 @@ "build:staging": "env-cmd -e staging react-scripts build", "build:preview": "env-cmd -e preview react-scripts build", "build:production": "env-cmd -e production react-scripts build", + "build:admin": "env-cmd -e admin react-scripts build", "build:backend-staging-qa": "env-cmd -e backend-staging-qa react-scripts build", "test": "jest", "test:coverage": "jest --coverage",