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 @@ COPY --from={$this->application->uuid}:{$this->git_commit}-build /app/{$this->ap
$this->fail($e->getMessage()); $this->fail($e->getMessage());
} finally { } finally {
// Saving docker-compose.yml // 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); 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); $this->executeNow(["docker rm -f {$this->deployment_uuid} >/dev/null 2>&1"], hideFromOutput: true);