diff options
| author | Luc Donnet | 2015-02-09 14:30:30 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2015-02-09 14:30:30 +0100 | 
| commit | b7cdd93a0b8fdc8981bf5d4249c7c3dccd737ce0 (patch) | |
| tree | 18ffde21b4263cd34637877db2abed2d0f09b12c | |
| parent | fc4f3d87cf4418083b5a8a0ee24669f430106703 (diff) | |
| download | chouette-core-b7cdd93a0b8fdc8981bf5d4249c7c3dccd737ce0.tar.bz2 | |
Move sitemap generation for production only
| -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" | 
