Commit 5c502bfc

mo k <mo@mokhan.ca>
2012-06-07 04:41:35
wget the site after deployment to kickstart rails startup.
1 parent 7b72a36
Changed files (1)
Rakefile
@@ -14,6 +14,7 @@ namespace :deploy do
   task :staging do
     sh "cap staging deploy"
     sh "cap staging deploy:migrations"
+    sh "wget http://staging.cakeside.com/ > /dev/null"
   end
   task :production, :tag do |t, args|
     tag_to_deploy = args.tag
@@ -24,6 +25,7 @@ namespace :deploy do
       puts "deploying to production from tag #{tag_to_deploy}"
       sh "cap production deploy -s tag=#{tag_to_deploy}"
       sh "cap production deploy:migrations"
+      sh "wget http://cakeside.com/ > /dev/null"
     end
   end
 end