Created
September 21, 2009 18:06
-
-
Save cjohansen/190414 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 :copy_database_yml, :roles => :app do | |
db_config = "/var/www/site/conf/database.yml" | |
run "cp #{db_config} #{release_path}/config/database.yml" | |
end | |
after "deploy:update_code", :copy_database_yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment