remove github events for now

This commit is contained in:
Andras Bacsai
2023-05-10 12:00:08 +02:00
parent c41bc8dac2
commit 775ee5d27a
3 changed files with 0 additions and 47 deletions

View File

@@ -96,10 +96,6 @@ Route::post('/source/github/events', function () {
$applications = Application::where('project_id', $id)->where('git_branch', $branch)->get();
foreach ($applications as $application) {
if ($application->isDeployable()) {
GithubEventsApplications::create([
"delivery_guid" => $x_github_delivery,
"application_id" => $application->id
]);
$deployment_uuid = new Cuid2(7);
dispatch(new DeployApplicationJob(
deployment_uuid: $deployment_uuid,