This commit is contained in:
chenbo 2023-11-21 11:23:03 +08:00
parent 0130f4dbba
commit 592359f7bd
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class GitWebHookController extends BaseApiController
public array $notNeedLogin = ['pullDevBranch'];
public function pullDevBranch()
{
$result = system("cd /opt/1panel/apps/openresty/openresty/www/sites/ceshi-pay.lihaink.cn/index && git pull", $result_code);
$result = shell_exec("cd /opt/1panel/apps/openresty/openresty/www/sites/ceshi-pay.lihaink.cn/index && git pull");
\think\facade\Log::info(['git pull dev branch result1', $result]);
}
}