git pull stuff
This commit is contained in:
parent
f053884488
commit
de4c23d61c
|
|
@ -109,10 +109,17 @@ class RefreshApp extends Command
|
|||
|
||||
private function runPull()
|
||||
{
|
||||
$addSafe = Process::fromShellCommandline('git config --global --add safe.directory /var/www/MORBLOX-WEBSITE/morblox-site');
|
||||
$addSafe->setWorkingDirectory(base_path());
|
||||
$process = Process::fromShellCommandline('git pull');
|
||||
$process->setWorkingDirectory(base_path());
|
||||
|
||||
$this->info("Running 'git pull'");
|
||||
|
||||
$addSafe->run(function($type, $buffer) {
|
||||
$this->pullLog[] = $buffer;
|
||||
});
|
||||
|
||||
$process->run(function($type, $buffer) {
|
||||
$this->pullLog[] = $buffer;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue