deploy-tool

why

  1. 小项目,不需要jenkins
  2. 无需ftp替换文件

todo

  1. 部署日志

setup

  1. yarn
  2. That's all

configure

  1. SERVER refers to your server IP
  2. SERVER_PATH refers to the path on your VPS
  3. project means the folder name of the remote folder on your VPS

use

node index.js deploy example