Created
May 29, 2013 18:23
-
-
Save britg/5672520 to your computer and use it in GitHub Desktop.
Sometimes you just want to update from git and restart
This file contains 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
namespace :deploy | |
task :quick do | |
run "cd #{current_path}; git pull origin #{branch}" | |
system("cap #{stage} deploy:restart") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment