refactor(application-deployment): streamline post-deployment process by always dispatching container status check

This commit is contained in:
Andras Bacsai
2025-05-30 10:09:25 +02:00
parent 9f06e7193e
commit aa0e32a20d

View File

@@ -361,9 +361,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
private function post_deployment() private function post_deployment()
{ {
if ($this->server->isProxyShouldRun()) { GetContainersStatus::dispatch($this->server);
GetContainersStatus::dispatch($this->server);
}
$this->next(ApplicationDeploymentStatus::FINISHED->value); $this->next(ApplicationDeploymentStatus::FINISHED->value);
if ($this->pull_request_id !== 0) { if ($this->pull_request_id !== 0) {
if ($this->application->is_github_based()) { if ($this->application->is_github_based()) {