mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
fix consecutive deployment issue (#62)
* fix consecutive deployment issue * fix styles
This commit is contained in:
@ -266,13 +266,7 @@ public function deploy(): Deployment
|
||||
}
|
||||
$deployment->save();
|
||||
|
||||
dispatch(
|
||||
new Deploy(
|
||||
$deployment,
|
||||
$this->path,
|
||||
$this->deployment_script_text
|
||||
)
|
||||
)->onConnection('ssh');
|
||||
dispatch(new Deploy($deployment, $this->path))->onConnection('ssh');
|
||||
|
||||
return $deployment;
|
||||
}
|
||||
|
Reference in New Issue
Block a user