diff --git a/Gruntfile.js b/Gruntfile.js index 095b7ed3e6..b5d0b27b40 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -412,6 +412,21 @@ module.exports = function (grunt) { }).join(' && '); } } + }, + + buildcontrol: { + options: { + dir: '_gh_pages', + commit: true, + push: true, + message: 'Built %sourceName% from commit %sourceCommit% on branch %sourceBranch%' + }, + pages: { + options: { + remote: 'git@github.com:twbs/derpstrap.git', + branch: 'gh-pages' + } + } } }); diff --git a/package.json b/package.json index 6d93cab322..eded9e2b45 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "grunt-autoprefixer": "~2.2.0", "grunt-babel": "^5.0.0", "grunt-banner": "~0.3.1", + "grunt-build-control": "~0.2.0", "grunt-contrib-clean": "~0.6.0", "grunt-contrib-compress": "~0.13.0", "grunt-contrib-concat": "~0.5.1",