]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
register task
authorMark Otto <markdotto@gmail.com>
Wed, 19 Aug 2015 05:49:26 +0000 (22:49 -0700)
committerMark Otto <markdotto@gmail.com>
Wed, 19 Aug 2015 05:49:26 +0000 (22:49 -0700)
Gruntfile.js

index b5d0b27b40f5eac8bf8fe50ba7cfcb7da1b5a671..b2b66855bef3a171cefc53ce91380c448ceccbc7 100644 (file)
@@ -517,6 +517,9 @@ module.exports = function (grunt) {
 
   grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', 'compress']);
 
+  // Publish to GitHub
+  grunt.registerTask('publish', ['buildcontrol:pages']);
+
   // Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json).
   // This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.
   grunt.registerTask('update-shrinkwrap', ['exec:npmUpdate', '_update-shrinkwrap']);