wip
This commit is contained in:
1 parent
3583f49a9b
commit
d90e2966c7
1 file changed
+3
-3
@@ -13,9 +13,9 @@ public function index(Request $request)
|
||||
'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