@pmate/cli 0.29.9 → 0.29.10
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.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19374,7 +19374,7 @@ var ServiceRuntimeRunner = class {
|
|
|
19374
19374
|
const gitUrl = this.withToken(repoUrl);
|
|
19375
19375
|
const scriptPath = script.startsWith("/") || script.startsWith("./") ? script : `./${script}`;
|
|
19376
19376
|
const envName = options.envName ?? "prod";
|
|
19377
|
-
const envSyncCommand = await this.buildScriptEnvSyncCommand(service.id, envName, server);
|
|
19377
|
+
const envSyncCommand = server === "local" ? void 0 : await this.buildScriptEnvSyncCommand(service.id, envName, server);
|
|
19378
19378
|
const command = [
|
|
19379
19379
|
`cd "$HOME"`,
|
|
19380
19380
|
`[ -d "${repoDir}/.git" ] || git clone "${gitUrl}" "${repoDir}"`,
|
|
@@ -19409,7 +19409,7 @@ var ServiceRuntimeRunner = class {
|
|
|
19409
19409
|
const repoDir = this.getRepoDirName(repository);
|
|
19410
19410
|
const scriptPath = script.startsWith("/") || script.startsWith("./") ? script : `./${script}`;
|
|
19411
19411
|
const envName = options.envName ?? "prod";
|
|
19412
|
-
const envSyncCommand = await this.buildScriptEnvSyncCommand(service.id, envName, server);
|
|
19412
|
+
const envSyncCommand = server === "local" ? void 0 : await this.buildScriptEnvSyncCommand(service.id, envName, server);
|
|
19413
19413
|
const command = [
|
|
19414
19414
|
`cd "$HOME"`,
|
|
19415
19415
|
`cd "${repoDir}"`,
|