Created
September 9, 2009 18:25
-
-
Save hosh/183943 to your computer and use it in GitHub Desktop.
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
task :after_update_code, :roles => [:db] do | |
run <<-EOF | |
cd #{release_path} && | |
rm -fr db && ln -ns #{shared_path}/db db && | |
cp config/database.yml.production config/database.yml && | |
git submodule update --init | |
EOF | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment