scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

auto deploy to live server #14

Closed rahulan closed 11 years ago

rahulan commented 11 years ago

is it possible when changes are pushed to git repo, will automatically trigger dandelion to deploy the changes to live server?

thank you

scttnlsn commented 11 years ago

You could use Git hooks to do this: http://git-scm.com/book/en/Customizing-Git-Git-Hooks

A post-receive hook is what you're looking for.

rahulan commented 11 years ago

WOW, thats was quick.

thanks for link, may be you can clarify this.

so far, my workflow is

local dev > push changes to git repo [using http://gitlabhq.com] then log in to live server, where I have to issue 'git pull' every time when changes push to git repo.

I wanted to overcome the last step. when I push the changes to git repo somehow it triggers git to deploy the changes to live server.

google gives me links for jenkins and capistrano which are I'm not familiar with.

let me have a read through with your link, and post back.

Thanks for your time.