Skip to content

Commit

Permalink
Add automatic deployment to gh-pages with grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
JNajera committed Apr 28, 2016
1 parent d8eb9fb commit 7b37085
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ _site
*.zip

# Folders to ignore
.grunt/
node_modules
bower_components
**/.sass-cache
Expand Down
6 changes: 6 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ module.exports = function(grunt) {
}
]
}
},
'gh-pages': {
options: {
base: '_gh_pages'
},
src: ['**/*']
}

});
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"matchdep": "^0.3.0",
"grunt-contrib-clean": "~1.0.0",
"grunt-contrib-compress": "~1.2.0",
"grunt-gh-pages": "~1.1.0",
"grunt-contrib-concat": "~1.0.0",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-sass": "^0.7.3",
Expand Down

0 comments on commit 7b37085

Please sign in to comment.