@docupace/pipeline 1.0.2-3.test8 → 1.0.2-3.test9

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.23.test8",
3
+ "version": "1.0.23.test9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/next/cli.js CHANGED
@@ -86,9 +86,18 @@ program
86
86
  .requiredOption('-F, --from-site <fromSite>', 'Source site')
87
87
  .requiredOption('-T, --to-site <toSite>', 'Target site')
88
88
  .option('-c, --deploy-core <deployCore>', 'Deploy Core', 'false')
89
+ .option('-c, --deploy-connect <deployConnect>', 'Deploy Connect', 'false')
89
90
  .action(async (options) => {
90
- const { fromEnv, fromSite, toEnv, toSite, deployCore } = options;
91
- await deployFromSite(fromEnv, fromSite, toEnv, toSite, deployCore);
91
+ const { fromEnv, fromSite, toEnv, toSite, deployCore, deployConnect } =
92
+ options;
93
+ await deployFromSite(
94
+ fromEnv,
95
+ fromSite,
96
+ toEnv,
97
+ toSite,
98
+ deployCore,
99
+ deployConnect,
100
+ );
92
101
  });
93
102
 
94
103
  program
@@ -404,7 +404,6 @@ export async function deployFromSite(
404
404
  toSite,
405
405
  isDeployCore,
406
406
  isDeployConnect,
407
- runLiquibase,
408
407
  ) {
409
408
  if (isDeployCore === 'true') {
410
409
  const branchName = await getCoreBranchName(fromEnv, fromSite);
@@ -439,6 +438,7 @@ export async function deployFromSite(
439
438
  connectDeployPath,
440
439
  );
441
440
  // save and deploy
441
+ const runLiquibase = true;
442
442
  await deployConnect(toEnv, toSite, runLiquibase, branch);
443
443
  }
444
444
  }