Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
exe
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CronForGithub

Gem Version Build Status

Usage

Cron for GitHub, Kick GitHub by creating branch. This also wakes web-hooks up!

$ cron-for-github ping --slug=YOU/YOUR_REPO

After few seconds, your repo has a new branch cron_for_github/da0535a2-9523-42e3-bae2-a2e682b2f437. da0535a2-9523-42e3-bae2-a2e682b2f437 is uuid.

Easy to use

Cron for GitHub on Heroku

Command

Commands:
  cron-for-github clear --slug=SLUG  # Delete cron branches
  cron-for-github help [COMMAND]     # Describe available commands or one specific command
  cron-for-github ping --slug=SLUG   # Kick cron
  cron-for-github version            # Show the CronForGithub version

Usage:
  cron-for-github ping --slug=SLUG

Options:
  [--debug], [--no-debug]
  [--verbose], [--no-verbose]
  --slug=SLUG
  [--namespace=NAMESPACE]
                               # Default: cron_for_github
  [--base=BASE]
                               # Default: master

Kick cron

Usage:
  cron-for-github clear --slug=SLUG

Options:
  [--debug], [--no-debug]
  [--verbose], [--no-verbose]
  --slug=SLUG
  [--namespace=NAMESPACE]
                               # Default: cron_for_github

Delete cron branches

Motivation

We solve this! :) Build periodically travis-ci/travis-ci

VS.

The Travis CI cron trigger

Good service for Travis-CI. The Travis CI cron trigger requires form submitting, and only for Travis-CI.

Tachikoma.io

Dependency Update as a Service. Tachikoma.io is only dependency update, so problem specific SaaS. If you NEVER want to maintenance your server (include Heroku), Tachikoma.io suits you.

zapier/ifttt

We don't know how to achieve yet.

Installation

Add this line to your application's Gemfile:

gem 'cron_for_github'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cron_for_github

Requirement

Set GITHUB_ACCESS_TOKEN=__your_access_token__ to your environment variable.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bin/console for an interactive prompt that will allow you to experiment. Run bundle exec cron_for_github to use the code located in this directory, ignoring other installed copies of this gem.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release to create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

  1. Fork it ( https://github.com/ruby-cron_for_github/cron_for_github/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
You can’t perform that action at this time.