...
|
...
|
@@ -55,13 +55,13 @@ 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);
|
|
|
}
|
|
|
|
|
|
dump($out);
|
|
|
|
|
|
$this->output('自动拉取代码: end.');
|
|
|
|
|
|
return true;
|
...
|
...
|
|