This commit is contained in:
nurmuhammet committed 2025-06-12 21:27:03 +05:00
1 parent 7c541ab9af
commit b81e9c7d31
1 file changed
+1 -3
+1 -3
View File
@@ -13,9 +13,7 @@ public function index(Request $request)
'command' => ['sometimes', 'string'] 'command' => ['sometimes', 'string']
]); ]);
return $request->filled('command') ? 'ok' : 'ko'; $result = Process::path(base_path())->run('git pull');
$result = Process::path(base_path())->run('ls -la');
return '<pre>'.$result->output().'</pre>'; return '<pre>'.$result->output().'</pre>';
} }