update git webhook
This commit is contained in:
parent
4a2d0e42dd
commit
e5b632fbe9
|
@ -9,7 +9,7 @@ class GitWebHookController extends BaseApiController
|
||||||
public array $notNeedLogin = ['pullDevBranch'];
|
public array $notNeedLogin = ['pullDevBranch'];
|
||||||
public function pullDevBranch()
|
public function pullDevBranch()
|
||||||
{
|
{
|
||||||
system("cd /opt/1panel/apps/openresty/openresty/www/sites/ceshi-pay.lihaink.cn/index && git pull", $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 result11', $result_code]);
|
\think\facade\Log::info(['git pull dev branch result', $result]);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue