[linux-elitists] Deploying server apps with git hooks?

Graham Hughes graham@sigwinch.org
Thu Jun 5 12:41:51 PDT 2008


Don Marti wrote:
> Is anyone using a git repository with an appropriate
> hook script to deploy a server-side application?
> 
> You could do something like "git push staging" or
> "git push live" on your own repository, and a hook on
> the server takes care of checking out and deploying
> the software, and running any necessary init scripts.

It's not a general solution, but ikiwiki does something very much like
this, and you can probably take their hook and modify it for your uses.

Graham




More information about the linux-elitists mailing list