diff --git a/app/Http/Livewire/DeployApplication.php b/app/Http/Livewire/DeployApplication.php index dfaa9a725..8e1ac41f3 100644 --- a/app/Http/Livewire/DeployApplication.php +++ b/app/Http/Livewire/DeployApplication.php @@ -58,16 +58,4 @@ class DeployApplication extends Component { $this->application->refresh(); } - - public function checkStatus() - { - $output = runRemoteCommandSync($this->destination->server, ["docker ps -a --format '{{.State}}' --filter 'name={$this->application->uuid}'"]); - if ($output == '') { - $this->application->status = 'exited'; - $this->application->save(); - } else { - $this->application->status = $output; - $this->application->save(); - } - } } diff --git a/resources/views/livewire/deploy-application.blade.php b/resources/views/livewire/deploy-application.blade.php index 21ba7248e..f6330e21f 100644 --- a/resources/views/livewire/deploy-application.blade.php +++ b/resources/views/livewire/deploy-application.blade.php @@ -1,6 +1,8 @@