Created
November 9, 2009 22:00
-
-
Save mig/230310 to your computer and use it in GitHub Desktop.
Hot capistrano replacement
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :deploy do | |
`rsync -rltvz -e ssh . deploy@hostname:/var/www/apps/my_app` | |
`ssh deploy@hostname touch /var/www/apps/my_app/public/restart.txt` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment