]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
grunt build control for pushing it all
authorMark Otto <markdotto@gmail.com>
Wed, 19 Aug 2015 05:47:26 +0000 (22:47 -0700)
committerMark Otto <markdotto@gmail.com>
Wed, 19 Aug 2015 05:47:26 +0000 (22:47 -0700)
Gruntfile.js
package.json

index 095b7ed3e67187d3400bf74a1591d43ddeca0070..b5d0b27b40f5eac8bf8fe50ba7cfcb7da1b5a671 100644 (file)
@@ -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'
+        }
+      }
     }
   });
 
index 6d93cab32206a6ac58aebb3c1283b87d95f4745e..eded9e2b45443fc7d2e873d33936fffe67519194 100644 (file)
@@ -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",