From 6a5c2bd8ba2cf8ad3df04f94c446c73ae2c4183b Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 7 Jul 2015 17:01:18 -0400 Subject: [PATCH] Add dist to gruntfile --- Gruntfile.coffee | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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', [