Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. const conn = sftp({
  2. host: config.host,
  3. user: config.user,
  4. pass: config.password,
  5. port: config.port,
  6. remotePath: config.remote_path + 'public_html/js/'
  7. });
  8.  
  9. return gulp.src([
  10. './public_html/js/scripts.min.js',
  11. './public_html/js/maps/**.*'
  12. ])
  13. .pipe(conn)
  14. .pipe(notify({ message: 'JS UPLOADED', onLast: true }));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement