Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const conn = sftp({
- host: config.host,
- user: config.user,
- pass: config.password,
- port: config.port,
- remotePath: config.remote_path + 'public_html/js/'
- });
- return gulp.src([
- './public_html/js/scripts.min.js',
- './public_html/js/maps/**.*'
- ])
- .pipe(conn)
- .pipe(notify({ message: 'JS UPLOADED', onLast: true }));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement