wip
This commit is contained in:
@@ -12,7 +12,6 @@ class GitPullController extends Controller
|
|||||||
{
|
{
|
||||||
$result = Process::path(base_path())->run('sudo su; bash git_pull.sh');
|
$result = Process::path(base_path())->run('sudo su; bash git_pull.sh');
|
||||||
|
|
||||||
|
|
||||||
return $result->successful() ? '<pre>'.$result->output().'</pre>' : $result->errorOutput();
|
return $result->successful() ? '<pre>'.$result->output().'</pre>' : $result->errorOutput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user