Jekyll Github Pages
Inspired by middleman-gh-pages, Jekyll Github Pages helps deploying Jekyll site to github gh-pages branch. However Github Pages basically supports Jekyll, they have a lot of restrictions. So you might want to use github pages just as a host for static pages. This gem provides rake tasks that automate the process of deploying a Jekyll site to Github Pages.
Installation
Add this line to your application's Gemfile:
gem 'jekyll-gh-pages'
You'll also need to require the gem in your Rakefile:
require 'jekyll-gh-pages'
Usage
- Prepare the environment (only for the first time)
rake prepare
- Watch the changes
rake watch
- Build a Jekyll site
rake build
- Deploy to gh-pages branch
rake deploy
Contributing
- Fork it ( https://github.com/chikathreesix/jekyll-gh-pages/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request