diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 4a1d9be..3d3c572 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -92,6 +92,18 @@ module.exports = (grunt) -> }] + buildcontrol: + + options: + dir: 'dist' + commit: true + push: true + message: 'Built from %sourceCommit% on branch %sourceBranch%' + pages: + options: + remote: 'git@github.com:atomaka/vagrant-for-devops.git' + branch: 'gh-pages' + # Load all grunt tasks. @@ -136,6 +148,12 @@ module.exports = (grunt) -> ] + grunt.registerTask 'deploy', + 'Deploy to Github Pages', [ + 'dist' + 'buildcontrol' + ] + # Define default task. grunt.registerTask 'default', [