update git webhook

This commit is contained in:
chenbo 2023-11-21 11:04:20 +08:00
parent 4a2d0e42dd
commit e5b632fbe9
1 changed files with 2 additions and 2 deletions

View File

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