This commit is contained in:
nurmuhammet committed 2025-06-12 22:00:31 +05:00
1 parent b883f0f66d
commit b0a2b50ec7
2 files changed
+1 -4

No files matched your search

+1 -1
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();
} }
-3
View File
@@ -1,3 +0,0 @@
cd /var/www/online.tbbank.gov.tm
git pull
exit