westdc-zf1/readme.md

19 lines
336 B
Markdown
Raw Normal View History

2018-05-12 09:20:23 +00:00
### shipit部署工具
* node v9+
`npm install -g shipit-cli`
`vim ~/.ssh/config`
```bash
Host sj
Hostname 210.77.68.221
Port 29
User lijianxuan
ServerAliveInterval 60
```
拷贝公钥到服务器下,然后运行部署命令即可部署,无需登录服务器
`shipit main deploy` or `npm run d`