Created
September 25, 2017 09:27
-
-
Save HelgaZhizhka/31bf08339538aba55adbc748b2bf5934 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// deploy assets to remote server | |
gulp.task('deploy', () => { | |
let sftp = require('gulp-sftp') | |
return gulp.src(assets + '/**') | |
.pipe(sftp({ | |
host: '[remote server ip]', | |
remotePath: '/www/app/', | |
user: 'foo', | |
pass: 'bar' | |
})) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment