@docupace/pipeline 1.0.33-alpha-1 → 1.0.33-alpha-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.33-alpha-1",
3
+ "version": "1.0.33-alpha-2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -11,7 +11,15 @@ export async function getAuth0Metadata(site, env) {
11
11
  try {
12
12
  const connectDeployRepoPath = await cloneRepository('connect-deploy');
13
13
 
14
- process.chdir(`${connectDeployRepoPath}/envs/${env}/${site}`);
14
+ if (env === 'qa') {
15
+ console.log(
16
+ `The environment is: (${env}), but connect-deploy has preprod instead`,
17
+ );
18
+ process.chdir(`${connectDeployRepoPath}/envs/preprod/${site}`);
19
+ } else {
20
+ process.chdir(`${connectDeployRepoPath}/envs/${env}/${site}`);
21
+ }
22
+
15
23
  const configPath = path.join('conf', 'application.conf');
16
24
  const appConf = await fs.readFile(configPath, 'utf-8');
17
25
  const connectContext = appConf.match(