This commit is contained in:
Andras Bacsai 2023-12-15 14:19:29 +01:00
parent b3ee6b7144
commit 99d07981cf

View File

@ -204,7 +204,12 @@
$container_name = generateApplicationContainerName($application, $pull_request_id);
// ray('Stopping container: ' . $container_name);
instant_remote_process(["docker rm -f $container_name"], $application->destination->server);
return response('Preview Deployment closed.');
$return_payloads->push([
'application' => $application->name,
'status' => 'success',
'message' => 'Preview Deployment closed',
]);
return response($return_payloads);
}
$return_payloads->push([
'application' => $application->name,