mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Add logging to self updater (#3745)
* Documentation for self updater * Add logging to self updater
This commit is contained in:
parent
c49264df1f
commit
c1348904f1
@ -70,7 +70,13 @@ class SelfUpdateController extends BaseController
|
|||||||
/* .git MUST be owned/writable by the webserver user */
|
/* .git MUST be owned/writable by the webserver user */
|
||||||
$repo = new GitRepository(base_path());
|
$repo = new GitRepository(base_path());
|
||||||
|
|
||||||
$res = $repo->pull();
|
info("Are there changes to pull? " . $repo->hasChanges());
|
||||||
|
|
||||||
|
//$res = $repo->pull();
|
||||||
|
|
||||||
|
$output = $repo->execute('pull origin');
|
||||||
|
|
||||||
|
info(print_r($output,1));
|
||||||
|
|
||||||
Artisan::call('ninja:post-update');
|
Artisan::call('ninja:post-update');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user