Changes
Gitolite
,/* Deploy */
* There is a git hook to publish the applish in prod
* The deploy hook is located at <code>/home/git/hooks/deploy.sh</code> in the [[Internal_Server]]
* You must add a <code>post-receive</code> hook in your project in a file <code>/home/git/repositories/yourproject/hooks/post-receive</code>with the following content: DIR=/where/your/project/should/be/deployed #example: /var/www/foo/htdocs APP=user-to-chown-to #example: www-data
/home/git/hooks/deploy.sh $APP $DIR
== See also ==
* [[Git_talk]]