Skip to content

Instantly share code, notes, and snippets.

@the-simian
Created July 16, 2015 03:32
Show Gist options
  • Save the-simian/d85a888ff24b5ab12a58 to your computer and use it in GitHub Desktop.
Save the-simian/d85a888ff24b5ab12a58 to your computer and use it in GitHub Desktop.
Simply gulp deploy to gh pages
'use strict';
var gulp = require('gulp'),
ghPages = require('gulp-gh-pages');
function deploy() {
return gulp
.src('./dist/**/*')
.pipe(ghPages());
}
gulp.task('deploy', deploy);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment