feat(deployment): ensure private key is stored in filesystem before deployment
This commit is contained in:
parent
4efcb0e8f4
commit
1c12cb98d9
1 changed files with 3 additions and 0 deletions
|
|
@ -253,6 +253,9 @@ public function handle(): void
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
// Make sure the private key is stored in the filesystem
|
||||||
|
$this->server->privateKey->storeInFileSystem();
|
||||||
|
|
||||||
// Generate custom host<->ip mapping
|
// Generate custom host<->ip mapping
|
||||||
$allContainers = instant_remote_process(["docker network inspect {$this->destination->network} -f '{{json .Containers}}' "], $this->server);
|
$allContainers = instant_remote_process(["docker network inspect {$this->destination->network} -f '{{json .Containers}}' "], $this->server);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue