Permalink
Browse files

PA-56 Load authorities into the application after a deploy

  • Loading branch information...
1 parent 34631c9 commit b4bec74821e5801b5c13652de8db30b5256be2ce @henare henare committed May 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Capfile
View
@@ -21,5 +21,6 @@ end
namespace :deploy do
task :restart, :except => { :no_release => true } do
run "touch #{File.join(current_path,'tmp','restart.txt')}"
+ run "rake -f #{File.join(deploy_to,'../app/current','Rakefile')} planningalerts:authorities:load RAILS_ENV=production"
end
end

0 comments on commit b4bec74

Please sign in to comment.