npm install -g shipit-cli
vim ~/.ssh/config
Host sj Hostname 210.77.68.221 Port 29 User lijianxuan ServerAliveInterval 60
拷贝公钥到服务器下,然后运行部署命令即可部署,无需登录服务器
shipit main deploy or npm run d
shipit main deploy
npm run d