Permalink
Browse files

finally happy with the deployment recipe

  • Loading branch information...
1 parent 3008325 commit 2c3d7bef980248a267a22482e66519f7f9b8695c @bangline committed Nov 18, 2011
Showing with 2 additions and 8 deletions.
  1. +2 −8 config/deploy.rb
View
@@ -16,6 +16,8 @@
set :scm, :git
set :branch, "master"
+set :deploy_via, :remote_cache
+
role :app, domain
role :web, domain
role :db, domain, :primary => true
@@ -37,12 +39,4 @@
end
end
-namespace :my_tasks do
-
- task :remove_index do
- run "rm #{current_path}/public/index.html"
- end
-
-end
-
before "deploy:restart", "deploy:compile_assets"

0 comments on commit 2c3d7be

Please sign in to comment.