Skip to content

Commit 9f1603b

Browse files
committed
grunt task to generate github pages
1 parent 46a57b2 commit 9f1603b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Gruntfile.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ module.exports = function (grunt) {
131131
background: true,
132132
},
133133
},
134+
'gh-pages': {
135+
options: {
136+
base: 'demo',
137+
},
138+
src: ['**'],
139+
},
134140
});
135141

136142

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"grunt-contrib-uglify": "~0.4.0",
3232
"grunt-contrib-watch": "~0.6.0",
3333
"grunt-defs": "~0.6.0",
34+
"grunt-gh-pages": "~0.9.1",
3435
"grunt-jscs-checker": "~0.4.0",
3536
"grunt-merge-conflict": "~0.0.2",
3637
"grunt-ng-annotate": "~0.2.0",

0 commit comments

Comments
 (0)