[linux-elitists] Deploying server apps with git hooks?
Don Marti
dmarti@zgp.org
Thu May 22 12:01:15 PDT 2008
begin John SJ Anderson quotation of Mon, May 05, 2008 at 03:33:41PM -0400:
>> 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.
>
> Couldn't you get the same effect by just having the server side run 'git
> pull live' in a cron job (1min, 5min, whatever) and do the init script
> stuff only when something has changed?
Yeah, but then you have to stay on the phone with
whoever requested the change while they hit "Reload"
120 times.
--
Don Marti
http://zgp.org/~dmarti/
dmarti@zgp.org
More information about the linux-elitists
mailing list