Skip to content

Commit

Permalink
Prepared for deployment of actionmailer notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Radcliffe authored and deanrad committed Jul 10, 2010
1 parent a120f43 commit 0cdf42e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
6 changes: 5 additions & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
run "rm -f #{release_path}/config/database.yml"
run "ln -s #{shared_path}/chess_on_rails_database.yml #{release_path}/config/database.yml"
end
task :env do
run "rm -f #{release_path}/config/environments/production.rb"
run "ln -s #{shared_path}/production.rb #{release_path}/config/environments/production.rb"
end
end

namespace :deploy do
Expand All @@ -41,6 +45,6 @@
run "touch #{current_path}/tmp/restart.txt"
end

after "deploy:update_code", "configure:db"
after "deploy:update_code", "configure:db", "configure:env"
end

18 changes: 0 additions & 18 deletions config/environments/production.rb

This file was deleted.

0 comments on commit 0cdf42e

Please sign in to comment.