Created
June 20, 2015 13:45
-
-
Save bymathias/667d179a23121212f447 to your computer and use it in GitHub Desktop.
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
/* gh-pages task */ | |
var ghPages = require('gh-pages'); | |
module.exports = function(gulp, gp, config) { | |
'use strict'; | |
gulp.task('ghpages', function(done) { | |
ghPages.publish(config.paths.destRoot, { | |
dotfiles: true, | |
branch: 'gh-pages', | |
message: 'Release v' + config.version, | |
// repo: config.repository.url, | |
logger: function(message) { | |
gp.util.log(message); | |
} | |
}, done); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment