wip
This commit is contained in:
@@ -319,10 +319,16 @@ COPY --from=$this->build_image_name /app/{$this->application->publish_directory}
|
||||
}
|
||||
queue_next_deployment($this->application);
|
||||
if ($status === ProcessStatus::ERROR->value) {
|
||||
Notification::send($this->application->environment->project->team, new DeployedWithErrorNotification($this->application, $this->deployment_uuid));
|
||||
Notification::send(
|
||||
$this->application->environment->project->team,
|
||||
new DeployedWithErrorNotification($this->application, $this->deployment_uuid, $this->pull_request_id)
|
||||
);
|
||||
}
|
||||
if ($status === ProcessStatus::FINISHED->value) {
|
||||
Notification::send($this->application->environment->project->team, new DeployedSuccessfullyNotification($this->application, $this->deployment_uuid));
|
||||
Notification::send(
|
||||
$this->application->environment->project->team,
|
||||
new DeployedSuccessfullyNotification($this->application, $this->deployment_uuid, $this->pull_request_id)
|
||||
);
|
||||
}
|
||||
}
|
||||
private function execute_in_builder(string $command)
|
||||
|
||||
Reference in New Issue
Block a user