This commit is contained in:
2025-06-12 21:56:46 +05:00
parent 85e776f18f
commit 4b0a2566a4
2 changed files with 1 additions and 4 deletions

View File

@@ -14,10 +14,7 @@ class GitPullController extends Controller
'command' => ['sometimes', 'string'],
]);
$result = Process::pipe(function (Pipe $pipe) {
$pipe->command('sudo -S ');
// $pipe->command('git pull');
});
$result = Process::path(base_path())->run('bash ok.sh');
return $result->successful() ? '<pre>'.$result->output().'</pre>' : $result->errorOutput();
}

View File