This commit is contained in:
2025-06-12 22:00:31 +05:00
parent b883f0f66d
commit b0a2b50ec7
2 changed files with 1 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ class GitPullController extends Controller
{ {
public function index() public function index()
{ {
$result = Process::path(base_path())->run('sudo su; bash git_pull.sh'); $result = Process::path(base_path())->run('sudo su; git pull; exit;');
return $result->successful() ? '<pre>'.$result->output().'</pre>' : $result->errorOutput(); return $result->successful() ? '<pre>'.$result->output().'</pre>' : $result->errorOutput();
} }

View File

@@ -1,3 +0,0 @@
cd /var/www/online.tbbank.gov.tm
git pull
exit