Created
March 23, 2015 23:50
-
-
Save hubgit/2cd2cc6334006f8e0520 to your computer and use it in GitHub Desktop.
Deploy a Polymer app to GitHub Pages using Gulp and node's gh-pages module
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
// npm install gh-pages --save-dev | |
var ghpages = require('gh-pages'); | |
gulp.task('deploy', ['default'], function(cb) { | |
ghpages.publish(path.join(process.cwd(), 'dist'), cb); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment