change path on runstep
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user