add site.yml support to deploy.rb-example

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
Taybin Rutkin 2009-03-31 07:35:26 +08:00 committed by Reinier Balt
parent 5ac4ac5198
commit b1256ab6e9

View file

@ -51,6 +51,7 @@ namespace :deploy do
task :before_symlink do
run "rm #{release_path}/public/.htaccess" #not compatible with Passenger
run "ln -s #{shared_path}/config/database.yml #{release_path}/config/database.yml"
run "ln -s #{shared_path}/config/site.yml #{release_path}/config/site.yml"
run "ln -s #{shared_path}/config/environment.rb #{release_path}/config/environment.rb"
end
@ -98,4 +99,4 @@ namespace :db do
remote_db_download
remote_db_cleanup
end
end
end