Created
October 9, 2015 00:26
-
-
Save adamsalves/4d379ea7a4148418e9ec to your computer and use it in GitHub Desktop.
Gulpfile - Final Deploy Task
This file contains 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
var gulp = require('gulp'); | |
var ghPages = require('gulp-gh-pages'); | |
gulp.task('deploy', function() { | |
return gulp.src('./dist/**/*') | |
.pipe(ghPages({ | |
remoteUrl: 'https://github.com/youruser/youruser.github.io.git', | |
branch: 'master' | |
})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment