diff --git a/packages/config/src/lib/index.ts b/packages/config/src/lib/index.ts index 109248ff6b..6051d3ef8c 100644 --- a/packages/config/src/lib/index.ts +++ b/packages/config/src/lib/index.ts @@ -61,7 +61,8 @@ const createFecConfig = ( fecLogger(LogType.info, 'no git branch detected, using main for webpack "main" config.'); gitBranch = 'main'; } - const appDeployment = configurations.deployment || (isProd && betaBranches.includes(gitBranch) ? 'beta/apps' : 'apps'); + const appDeployment = + configurations.deployment || ((isProd && betaBranches.includes(gitBranch)) || process.env.BETA === 'true' ? 'beta/apps' : 'apps'); const publicPath = `/${appDeployment}/${insights.appname}/`; const appEntry = configurations.appEntry || getAppEntry(configurations.rootFolder, isProd);