mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
97 lines
2.7 KiB
PHP
97 lines
2.7 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default source repository type
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The default source repository type you want to pull your updates from.
|
|
|
|
|
*/
|
|
|
|
'default' => env('SELF_UPDATER_SOURCE', 'github'),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Version installed
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Set this to the version of your software installed on your system.
|
|
|
|
|
*/
|
|
|
|
'version_installed' => env('SELF_UPDATER_VERSION_INSTALLED', '2.6.9'),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Repository types
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| A repository can be of different types, which can be specified here.
|
|
| Current options:
|
|
| - github
|
|
|
|
|
*/
|
|
|
|
'repository_types' => [
|
|
'github' => [
|
|
'type' => 'github',
|
|
'repository_vendor' => env('SELF_UPDATER_REPO_VENDOR', 'invoiceninja'),
|
|
'repository_name' => env('SELF_UPDATER_REPO_NAME', 'invoiceninja'),
|
|
'repository_url' => '',
|
|
'download_path' => env('SELF_UPDATER_DOWNLOAD_PATH', '/tmp'),
|
|
],
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Exclude folders from update
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Specifiy folders which should not be updated and will be skipped during the
|
|
| update process.
|
|
|
|
|
| Here's already a list of good examples to skip. You may want to keep those.
|
|
|
|
|
*/
|
|
|
|
'exclude_folders' => [
|
|
'node_modules',
|
|
'bootstrap/cache',
|
|
'bower',
|
|
'storage/app',
|
|
'storage/framework',
|
|
'storage/logs',
|
|
'storage/self-update',
|
|
'vendor',
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Event Logging
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Configure if fired events should be logged
|
|
|
|
|
*/
|
|
|
|
'log_events' => env('SELF_UPDATER_LOG_EVENTS', false),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Mail To Settings
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Configure if fired events should be logged
|
|
|
|
|
*/
|
|
|
|
'mail_to' => [
|
|
'address' => env('SELF_UPDATER_MAILTO_ADDRESS', ''),
|
|
'name' => env('SELF_UPDATER_MAILTO_NAME', ''),
|
|
],
|
|
|
|
];
|