2020-02-10 23:40:42 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2020-02-11 06:47:46 +08:00
|
|
|
'default' => 'vms',
|
|
|
|
'version_installed' => '',
|
2020-02-10 23:40:42 +08:00
|
|
|
|
|
|
|
'repository_types' => [
|
|
|
|
'github' => [
|
|
|
|
'type' => 'github',
|
|
|
|
'repository_vendor' => 'nabeelio',
|
|
|
|
'repository_name' => 'phpvms',
|
|
|
|
'repository_url' => 'https://github.com/nabeelio/phpvms',
|
2020-02-11 06:47:46 +08:00
|
|
|
'download_path' => storage_path('app'),
|
2020-02-10 23:40:42 +08:00
|
|
|
'private_access_token' => '',
|
2020-02-11 06:47:46 +08:00
|
|
|
'use_branch' => '',
|
2020-02-10 23:40:42 +08:00
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2020-02-11 06:47:46 +08:00
|
|
|
'mail_to' => [
|
|
|
|
'address' => 'no-reply@phpvms.net',
|
|
|
|
'name' => 'no name',
|
|
|
|
'subject_update_available' => 'Update available',
|
|
|
|
'subject_update_succeeded' => 'Update succeeded',
|
|
|
|
],
|
|
|
|
|
2020-02-10 23:40:42 +08:00
|
|
|
'exclude_folders' => [
|
|
|
|
'node_modules',
|
|
|
|
'bootstrap/cache',
|
|
|
|
'bower',
|
|
|
|
'storage/app',
|
|
|
|
'storage/framework',
|
|
|
|
'storage/logs',
|
|
|
|
'storage/self-update',
|
|
|
|
],
|
|
|
|
|
|
|
|
'log_events' => true,
|
|
|
|
|
|
|
|
/*
|
|
|
|
|---------------------------------------------------------------------------
|
|
|
|
| Register custom artisan commands
|
|
|
|
|---------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
'artisan_commands' => [
|
|
|
|
'pre_update' => [
|
|
|
|
//'command:signature' => [
|
|
|
|
// 'class' => Command class
|
|
|
|
// 'params' => []
|
|
|
|
//]
|
|
|
|
],
|
|
|
|
'post_update' => [
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|