more opts for github publish

This commit is contained in:
Radek Stepan 2014-10-26 21:39:34 -06:00
parent b791bc7c80
commit a8e2d1ea83
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
node_modules/
*.log
.build_cache~
.grunt
build/*.map
public/js/app.bundle.js
public/js/app.js

View File

@ -51,7 +51,10 @@ module.exports = (grunt) ->
'gh-pages':
options:
base: 'public'
src: ['**']
branch: 'gh-pages'
message: 'Publish to GitHub Pages'
push: yes
src: '**/*'
grunt.loadNpmTasks('grunt-mkdir')
grunt.loadNpmTasks('grunt-contrib-clean')