Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 883 Bytes

README.textile

File metadata and controls

19 lines (13 loc) · 883 Bytes

What is yeli?

yeli is a small and very simple app written in flask ( A Python MicroFramework), which will pull the latest version of your git repo from github.com to your server

How does this work

when you push code to github, github sends a POST request to the configured WebHook URL.
yeli will be listening to POST requests from github servers and will run “git pull” , simple right ?

How to setup

  • you need to have your cloned repo from github on your server atleast for the first time .( if its a private repo checkout deploy keys in github)
  • install flask “pip install flask”
  • place yeli.py in your repository directory ( on server)
  • run python yeli.py
  • On the Github page go to a repository, > “Admin”, “Service Hooks”,
    “Post-Receive URLs” and add the url of your machine (e.g. http://example.com:5000/pull).