Commit 90a5d372

mo k <mo@mokhan.ca>
2012-10-06 06:43:40
deploy to prod using the same cap command used to deploy to staging.
1 parent e8cba33
Changed files (1)
lib/tasks/deployment.rake
@@ -12,8 +12,9 @@ namespace :deploy do
       puts "E.g. rake deploy:production['staging-2012-06-02-1-mo-user-settings']"
     else
       puts "deploying to production from tag #{tag_to_deploy}"
-      sh "cap production deploy -s tag=#{tag_to_deploy}"
-      sh "cap production deploy:migrations"
+      sh "cap production deploy:migrations -s tag=#{tag_to_deploy}"
+      #sh "cap production deploy -s tag=#{tag_to_deploy}"
+      #sh "cap production deploy:migrations"
       sh "curl http://cakeside.com/ > /dev/null"
     end
   end