An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
remove github events for now
Andras Bacsai775ee5d27ae1
diff --git a/app/Models/GithubEventsApplications.php b/app/Models/GithubEventsApplications.phpdeleted file mode 100644index 11c89bfd22..0000000000--- a/app/Models/GithubEventsApplications.php+++ /dev/null@@ -1,14 +0,0 @@-<?php--namespace App\Models;--use Illuminate\Database\Eloquent\Factories\HasFactory;-use Illuminate\Database\Eloquent\Model;--class GithubEventsApplications extends Model-{- protected $fillable = [- 'delivery_guid',- 'application_id',- ];-}diff --git a/database/migrations/2023_05_09_093548_create_github_events_applications_table.php b/database/migrations/2023_05_09_093548_create_github_events_applications_table.phpdeleted file mode 100644index f2c2d52d87..0000000000--- a/database/migrations/2023_05_09_093548_create_github_events_applications_table.php+++ /dev/null@@ -1,29 +0,0 @@-<?php--use Illuminate\Database\Migrations\Migration;-use Illuminate\Database\Schema\Blueprint;-use Illuminate\Support\Facades\Schema;--return new class extends Migration-{- /**- * Run the migrations.- */- public function up(): void- {- Schema::create('github_events_applications', function (Blueprint $table) {- $table->id();- $table->string('delivery_guid');- $table->foreignId('application_id');- $table->timestamps();- });- }-- /**- * Reverse the migrations.- */- public function down(): void- {- Schema::dropIfExists('github_events_applications');- }-};diff --git a/routes/webhooks.php b/routes/webhooks.phpindex cd1a9d5cde..bab877df5b 100644--- a/routes/webhooks.php+++ b/routes/webhooks.php@@ -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,