作者 刘锟

update

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