作者 刘锟

update

... ... @@ -57,6 +57,11 @@ public function pullCode()
exec($shell, $out);
dump($out);
if(env('BT_PANEL') == 'http://47.88.53.252:40896'){
exec('cd /www/wwwroot/self_site2 && sudo git checkout . && sudo git pull 2>&1', $out);
dump($out);
}
$this->output('自动拉取代码: end.');
return true;
... ...