Closed bennypowers closed 8 years ago
Solved my own problem, needed to use globs:
gulp.task( 'deploy', function () {
return gulp.src('dist/**/*')
.pipe(sftp({
host: 'mydomain.com',
user:'tech',
remotePath:'/home/tech/htdocs/',
auth: 'privateKey'
}));
} );
changes in subdirs are not sent. the only file in my root is index.html
Have I misconfigured?