Skip to content

oddcamp/oompaloompa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages