wip
This commit is contained in:
@@ -13,9 +13,9 @@ class GitPullController extends Controller
|
||||
'command' => ['sometimes', 'string']
|
||||
]);
|
||||
|
||||
|
||||
|
||||
$result = Process::path(base_path())->run('git pull');
|
||||
$result = Process::path(base_path())->run(
|
||||
$request->filled('command') ? $request->filled('command') : 'git pull'
|
||||
);
|
||||
|
||||
return '<pre>'.$result->output().'</pre>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user