This commit is contained in:
Andras Bacsai 2023-05-17 12:54:35 +02:00
parent 4e7bfc12aa
commit 6c71d168c4

View File

@ -226,7 +226,7 @@ public function handle(): void
$this->fail($e->getMessage());
} finally {
// Saving docker-compose.yml
if ($this->docker_compose) {
if (isset($this->docker_compose)) {
Storage::disk('deployments')->put(Str::kebab($this->application->name) . '/docker-compose.yml', $this->docker_compose);
}
$this->executeNow(["docker rm -f {$this->deployment_uuid} >/dev/null 2>&1"], hideFromOutput: true);