diff options
| -rw-r--r-- | config/deploy.rb | 2 | ||||
| -rw-r--r-- | config/deploy/production.rb | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/config/deploy.rb b/config/deploy.rb index 32cb71385..0f8a3f673 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -20,7 +20,7 @@ set :copy_exclude, ".git/*"  ssh_options[:forward_agent] =   true  ssh_options[:keys] = [File.join(ENV["HOME"], ".ssh", "id_rsa")] -after "deploy:update", "deploy:cleanup", "deploy:group_writable", "deploy:sitemap:refresh" +after "deploy:update", "deploy:cleanup", "deploy:group_writable"  after "deploy:update_code", "deploy:symlink_shared", "deploy:chouette_command", "deploy:gems"  # ugly workaround for bug https://github.com/capistrano/capistrano/issues/81  before "deploy:assets:precompile", "deploy:symlink_shared" diff --git a/config/deploy/production.rb b/config/deploy/production.rb index c24f29894..8f300fdbf 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1,3 +1,5 @@  server "chouette.marseille.cityway.fr", :app, :web, :db, :primary => true  set :branch, "V2_5"  set :gui_cmd, "2.5.1" + +after "deploy:update", "deploy:sitemap:refresh" | 
