Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gulp.task('ftp-deploy', function() {
- var conn = ftp.create({
- host: 'ftps.mysite.com',
- port: 21,
- user: 'me@mysite.com',
- password: 'mypassword123',
- parallel: 10,
- log: gutil.log,
- });
- var localFilesGlob = ['css-dist/**'];
- return gulp.src(localFilesGlob, { base: './css-dist/', buffer: false })
- .pipe( conn.newer( '/css' ) )
- .pipe( conn.dest( '/css' ) )
- ;
- });
Add Comment
Please, Sign In to add comment