Created
July 16, 2015 03:32
-
-
Save the-simian/d85a888ff24b5ab12a58 to your computer and use it in GitHub Desktop.
Simply gulp deploy to gh pages
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
'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