Add logging to self updater (#3745)

* Documentation for self updater

* Add logging to self updater
This commit is contained in:
David Bomba 2020-05-25 15:14:31 +10:00 committed by GitHub
parent c49264df1f
commit c1348904f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,13 @@ class SelfUpdateController extends BaseController
/* .git MUST be owned/writable by the webserver user */
$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');