wip
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
cd /var/www/online.tbbank.gov.tm
|
|
||||||
git pull
|
|
||||||
exit
|
|
||||||
Reference in New Issue
Block a user