Jekyll gem plugin to push a compiled site to a GitHub branch. Works locally or on Travis CI if you add an access token.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install jekyll_push
$ jekyll push <branch_name> or
$ bundle exec jekyll push <branch_name>
If you run
jekyll push gh-pages to use GitHub pages publishing,
JekyllPush will look for a
repo_name variable in your
_config.yml file and try to construct a
baseurl from it.
For example, if you have a repository named
my_site just add
_config.yml file and
JekyllPush will rebuild your site using
/my_site as the
baseurl before pushing it to the
gh-pages branch. This lets you use
JekyllPush for multiple branches and publish targets, with differing (base)url patterns.
Bug reports and pull requests are welcome on GitHub at https://github.com/mnyrop/jekyll_push. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the JekyllPush project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.