【文件属性】:
文件名称:gulp-gitftp:简单的 git-ftp 上传任务 w gulp
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-09 12:15:22
JavaScript
gulp-gitftp
带有 gulp 的简单 git-ftp 上传任务。
要求
使用 Homebrew 安装
$ brew install curl --with-ssl --with-libssh2 git-ftp
用法
安装 gulp 和一些依赖项。
$ npm install
打开gulpfile.js并设置您的环境。
var config = {
'username' : 'your ftp username' ,
'passwd' : 'your ftp password' ,
'host' : 'ftp.example.com/public_html' , // set ftp hostname. eg. 'ftp.example.com/htdocs'
'root' : './' // set local syncroot path. eg. '
【文件预览】:
gulp-gitftp-master
----public_html()
--------index.html(216B)
----.gitignore(432B)
----package.json(366B)
----gulpfile.js(660B)
----README.md(923B)
----.editorconfig(452B)