Skip to content

Small Sinatra app to auto-pull fresh code upon pushes to a GitHub repo.

Notifications You must be signed in to change notification settings

Zapotek/github-autopull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub AutoPull

Small Sinatra app to auto-pull fresh code upon pushes to a GitHub repo.

Installation

Execute bundle install to install all dependencies.

Configuration

Open up config.yaml and set:

  • repo_dir to the path of your local Git repository
  • token to a secret value
  • user to a local user that can pull from the GitHub project (i.e. has the proper SSH keys)

Optionally, you can specify a file to be touched after every pull request.

Usage

Execute rackup from inside the AutoPull directory.

Pass the following URL to the 'Post-Receive URLs' hook: http://<host>/?token=<token>

About

Small Sinatra app to auto-pull fresh code upon pushes to a GitHub repo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages