@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 +1 -1
- package/src/next/cli.js +11 -2
- package/src/next/deploy.js +1 -1
package/package.json
CHANGED
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 } =
|
|
91
|
-
|
|
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
|
package/src/next/deploy.js
CHANGED
|
@@ -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
|
}
|