Skip to content

Instantly share code, notes, and snippets.

@britg
Created May 29, 2013 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save britg/5672520 to your computer and use it in GitHub Desktop.
Save britg/5672520 to your computer and use it in GitHub Desktop.
Sometimes you just want to update from git and restart
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