change path on runstep

This commit is contained in:
2025-03-31 16:30:23 +00:00
parent 2092430e6b
commit 84074c80f0

View File

@@ -30,7 +30,7 @@ class RunStep implements ShouldQueue
$server = $this->step->deployment->target->server; $server = $this->step->deployment->target->server;
$ssh = Ssh::create('root', $server->ipv4) $ssh = Ssh::create('root', $server->ipv4)
->usePrivateKey(storage_path('private/ssh/id_ed25519')) ->usePrivateKey(storage_path('app/private/ssh/id_ed25519'))
->onOutput(function ($output) { ->onOutput(function ($output) {
$this->step->update([ $this->step->update([
'logs' => $this->step->logs . "\n" . trim($output), 'logs' => $this->step->logs . "\n" . trim($output),