正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -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; |
-
请 注册 或 登录 后发表评论