Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

gulp-gitftp

Simple git-ftp upload tasks w/ gulp.

Requirement

Install w/ Homebrew

$ brew install curl --with-ssl --with-libssh2 git-ftp

Usage

Install gulp and some dependencies.

$ npm install

Open gulpfile.js and set your environment.

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. './', './public_html' etc
}

First time, you need to run gulp ftp-init.

$ gulp ftp-init

gulp ftp-init initializes the first upload to remote host.

Uploads files which have changed since last upload.

$ gulp ftp-push

MIT

About

Simple git-ftp upload tasks w/ gulp.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.