Skip to content

Instantly share code, notes, and snippets.

@adamsalves
Created October 9, 2015 00:26
Show Gist options
  • Save adamsalves/4d379ea7a4148418e9ec to your computer and use it in GitHub Desktop.
Save adamsalves/4d379ea7a4148418e9ec to your computer and use it in GitHub Desktop.
Gulpfile - Final Deploy Task
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