From 7d768127a6792dbe328c6ba1f0b98cade203fc47 Mon Sep 17 00:00:00 2001 From: rmanach Date: Tue, 26 Sep 2023 11:26:31 +0200 Subject: [PATCH] push notifications when product is in running state --- deployment/tasks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment/tasks.py b/deployment/tasks.py index 964c3fb..5f90a86 100644 --- a/deployment/tasks.py +++ b/deployment/tasks.py @@ -80,6 +80,9 @@ class DeploymentTask(AbortableTask): self.deploy.status = Status.RUNNING.name self.deploy.save() + Event.send(self.deploy) + Event.send_details(self.deploy, 0) + match self.deploy.type: case Type.SLIM.name: self.run_slim()