![]() |
Git service deploy hooks
Is anyone using git on a local machine to manage code on your remote servers? Currently doing some research on using hooks to pull changes after a commit to my remote repo.
|
Quote:
Usually I have a local git repo, push to remote and then pull that remote on my deploy server. This is quite common I believe. If you are using Ruby then use Cappuccino and if you are using Python then use Fabric. You can use either for any language and then integrate well with git. |
Quote:
http://toroid.org/ams/git-website-howto |
i use git on my server to push changes to github, i also have a local git server, which i push to my dedicated (you can do this without running the actual git daemon)
|
Yes, have been doing so for a while.
I use a repo like Bitbucket.org that have post commit triggers. This fires a script on a box that deploys to remote machines. Conditional options based on the branch means I can fire to master or branches/staging at will. Their triggers are nice Json so has everything you need in it, they also have hooks for a few others as well. Presumably you are aiming for continuous integration, I'm looking to expand the deployments to include phplint, linkchecker and drive some phpUnit tests as well. |
All times are GMT -7. The time now is 06:48 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123