Update version numbers + do not cleanup queue on cloud

This commit is contained in:
Andras Bacsai
2024-02-14 15:31:43 +01:00
parent dab13c92eb
commit 80035395ff
4 changed files with 6 additions and 3 deletions

View File

@@ -125,6 +125,9 @@ class Init extends Command
// Cleanup any failed deployments
try {
if (isCloud()) {
return;
}
$queued_inprogress_deployments = ApplicationDeploymentQueue::whereIn('status', [ApplicationDeploymentStatus::IN_PROGRESS->value, ApplicationDeploymentStatus::QUEUED->value])->get();
foreach ($queued_inprogress_deployments as $deployment) {
ray($deployment->id, $deployment->status);