@geekmidas/cli 0.44.0 ā 0.45.0
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/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/deploy/index.ts +8 -0
package/dist/index.cjs
CHANGED
|
@@ -4697,7 +4697,11 @@ async function workspaceDeployCommand(workspace, options) {
|
|
|
4697
4697
|
};
|
|
4698
4698
|
if (dockerServices.postgres || dockerServices.redis) {
|
|
4699
4699
|
logger$1.log("\nš§ Provisioning infrastructure services...");
|
|
4700
|
-
|
|
4700
|
+
const existingUrls = stageSecrets ? {
|
|
4701
|
+
DATABASE_URL: stageSecrets.urls?.DATABASE_URL,
|
|
4702
|
+
REDIS_URL: stageSecrets.urls?.REDIS_URL
|
|
4703
|
+
} : void 0;
|
|
4704
|
+
await provisionServices(api, project.projectId, environmentId, workspace.name, dockerServices, existingUrls);
|
|
4701
4705
|
}
|
|
4702
4706
|
const backendApps = appsToDeployNames.filter((name$1) => workspace.apps[name$1].type === "backend");
|
|
4703
4707
|
const frontendApps = appsToDeployNames.filter((name$1) => workspace.apps[name$1].type === "frontend");
|