grunt build control for pushing it all

This commit is contained in:
Mark Otto 2015-08-18 22:47:26 -07:00
parent f9cbfa016d
commit cf8bb8882e
2 changed files with 16 additions and 0 deletions

View 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'
}
}
}
});

View 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",