... sharing how ended up the git hook post-receive script:

cd ~/myapp/public_html
env -i git reset --hard
env -i git pull origin master
cake migration all
cake deploy cache

I used both plugins said above, and it's been working great so far. 
Now I'm able to update my app with only one push command from my local 
server. One just needs have git installed on both local and production 
server, and have the deploy kit and migrations plugins along with the 
aplicattion.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to