fixed
This commit is contained in:
parent
0130f4dbba
commit
592359f7bd
|
@ -9,7 +9,7 @@ class GitWebHookController extends BaseApiController
|
||||||
public array $notNeedLogin = ['pullDevBranch'];
|
public array $notNeedLogin = ['pullDevBranch'];
|
||||||
public function 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]);
|
\think\facade\Log::info(['git pull dev branch result1', $result]);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue