2023-03-28 10:09:34 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
use App\Models\GithubApp;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
class GithubAppSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*/
|
|
|
|
public function run(): void
|
|
|
|
{
|
|
|
|
GithubApp::create([
|
|
|
|
'name' => 'Public GitHub',
|
|
|
|
'api_url' => 'https://api.github.com',
|
|
|
|
'html_url' => 'https://github.com',
|
|
|
|
'is_public' => true,
|
2023-08-11 14:13:53 +00:00
|
|
|
'team_id' => 0,
|
2023-03-28 10:09:34 +00:00
|
|
|
]);
|
|
|
|
GithubApp::create([
|
2023-05-09 12:42:10 +00:00
|
|
|
'name' => 'coolify-laravel-development-public',
|
|
|
|
'uuid' => '69420',
|
2023-03-28 10:09:34 +00:00
|
|
|
'api_url' => 'https://api.github.com',
|
|
|
|
'html_url' => 'https://github.com',
|
|
|
|
'is_public' => false,
|
|
|
|
'app_id' => 292941,
|
2023-05-08 09:51:03 +00:00
|
|
|
'installation_id' => 37267016,
|
2023-03-28 10:09:34 +00:00
|
|
|
'client_id' => 'Iv1.220e564d2b0abd8c',
|
2023-06-13 13:37:55 +00:00
|
|
|
'client_secret' => '116d1d80289f378410dd70ab4e4b81dd8d2c52b6',
|
2023-03-28 10:09:34 +00:00
|
|
|
'webhook_secret' => '326a47b49054f03288f800d81247ec9414d0abf3',
|
2023-08-11 14:13:53 +00:00
|
|
|
'private_key_id' => 1,
|
|
|
|
'team_id' => 0,
|
2023-03-28 10:09:34 +00:00
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|