aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-18 22:47:26 -0700
committerMark Otto <[email protected]>2015-08-18 22:47:26 -0700
commitcf8bb8882ed468529f12c616bdf874b9d8f80c8f (patch)
treed3ae835cc0b215b577223137a5d523b6a35199cc
parentf9cbfa016d9ce98f8f91a628c8e8d561ce4b3c1b (diff)
downloadbootstrap-cf8bb8882ed468529f12c616bdf874b9d8f80c8f.tar.xz
bootstrap-cf8bb8882ed468529f12c616bdf874b9d8f80c8f.zip
grunt build control for pushing it all
-rw-r--r--Gruntfile.js15
-rw-r--r--package.json1
2 files changed, 16 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 095b7ed3e..b5d0b27b4 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: '[email protected]:twbs/derpstrap.git',
+ branch: 'gh-pages'
+ }
+ }
}
});
diff --git a/package.json b/package.json
index 6d93cab32..eded9e2b4 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",