作者 刘锟

update

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