FTP release deployment


tmt-workflow supports deploying compiled files to FTP. Just configure as follows:

//ftp 配置
  "ftp": {
    "host": "xx.xx.xx.xx",
    "port": "8021",
    "user": "tmt",
    "pass": "password",
    "remotePath": "remotePath", //默认上传到根目录下,配置此属性可指定具体子目录
    "includeHtml": true  //ftp 上传是否包含 html
  }

Execute gulp ftp.