@docupace/pipeline 1.0.113-test → 1.0.113-test2
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/deploy.js +4 -0
package/package.json
CHANGED
package/src/next/deploy.js
CHANGED
|
@@ -1066,6 +1066,7 @@ export async function updateSiteVersion(
|
|
|
1066
1066
|
await pushDeployConfig(
|
|
1067
1067
|
toRepoPath,
|
|
1068
1068
|
`Update site versions for ${env}/${site}`,
|
|
1069
|
+
env,
|
|
1069
1070
|
);
|
|
1070
1071
|
|
|
1071
1072
|
if (autoDeployUpdated && env !== 'dev') {
|
|
@@ -1073,6 +1074,7 @@ export async function updateSiteVersion(
|
|
|
1073
1074
|
await pushDeployConfig(
|
|
1074
1075
|
devRepoPath,
|
|
1075
1076
|
`Update auto-deploy version for ${env}/${site}`,
|
|
1077
|
+
'dev',
|
|
1076
1078
|
);
|
|
1077
1079
|
}
|
|
1078
1080
|
|
|
@@ -1342,6 +1344,7 @@ export async function deployFromSite(
|
|
|
1342
1344
|
await pushDeployConfig(
|
|
1343
1345
|
toRepoPath,
|
|
1344
1346
|
`Updated deployment configurations from ${fromEnv}/${fromSite} to ${toEnv}/${toSite}`,
|
|
1347
|
+
toEnv,
|
|
1345
1348
|
);
|
|
1346
1349
|
// auto-deploy.yaml lives in gitops-dev; push it separately when toEnv isn't dev
|
|
1347
1350
|
if (autoDeployUpdated && toEnv !== 'dev') {
|
|
@@ -1349,6 +1352,7 @@ export async function deployFromSite(
|
|
|
1349
1352
|
await pushDeployConfig(
|
|
1350
1353
|
devRepoPath,
|
|
1351
1354
|
`Update auto-deploy version for ${toEnv}/${toSite}`,
|
|
1355
|
+
'dev',
|
|
1352
1356
|
);
|
|
1353
1357
|
}
|
|
1354
1358
|
console.log('All configurations updated and pushed successfully.');
|