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
 
 
 
 
 
 

README.md

Oompa Loompa

Ooompa Loompa is a simple web service that listens to POST hooks from Bitbucket or GitHub. We use it for fully automatic deployment of static HTML sites.

Usage

$ oompaloompa --help
Usage of oompaloompa:
  -config="conf.json": config file to load
  -logfile="": log to file
  -port=4000: listen on port

config.json contains a list of each project with the repo name and the path. When a payload is received for a given project Oompa Loompa will run a git pull in that directory.

{"projects": [
  {
    "name": "example",
    "path": "/var/www/www.example.com/public_html"
  },
  {
    "name": "exshmample",
    "path": "/var/www/www.exshmample.io/public_html"
  }
]}

Now set up a new webhook for your GitHub or Bitbucket repo to fire at your Ooompa Loompa host, e.g.

That's it!

About

Ooompa Loompa is a simple web service that listens to POST hooks from Bitbucket or GitHub

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.