This commit is contained in:
nurmuhammet committed 2025-06-12 21:28:20 +05:00
1 parent 3583f49a9b
commit d90e2966c7
1 file changed
+3 -3
+3 -3
View File
@@ -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>';
}