⒒ FTP 发布部署

littledu edited this page Feb 29, 2016 · 2 revisions

tmt-workflow 支持将编译后的文件部署上 FTP,只需如下配置:

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

执行 gulp ftp 即可。

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.