Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
I can't be bothered with all of these fancy deployment systems. This works for me! Lazzzzy...
desc "Deploy site"
task :deploy do
sh %{git push origin master}
sh %{ssh server "cd /var/www/XXXXX.com;git pull;bundle check || bundle;rake db:migrate;touch tmp/restart.txt;chown -R app:app *"}
end
@defunkt
Copy link

defunkt commented Mar 31, 2011

Great stuff.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment