fix deployment status

This commit is contained in:
Andras Bacsai committed 2023-06-08 09:23:25 +02:00
1 parent b2c3c9069f
commit d01486ce42
4 files changed
+16 -7

No files matched your search

+5
View File
@@ -273,9 +273,14 @@ COPY --from=$this->build_image_name /app/{$this->application->publish_directory}
private function next(string $status)
{
if (!Str::of($this->application_deployment_queue->status)->startsWith('cancelled')) {
ray('Next Status: ' . $status);
$this->application_deployment_queue->update([
'status' => $status,
]);
$this->activity->properties = $this->activity->properties->merge([
'status' => $status,
]);
$this->activity->save();
}
dispatch(new ApplicationContainerStatusJob(
application: $this->application,