diff --git a/config/deploy.rb b/config/deploy.rb index 547faddba..bf461fd8a 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -32,5 +32,4 @@ namespace :deploy do after :publishing, 'service:pp_default:restart' after :publishing, 'service:pp_import:restart' - after :published, 'deploy:clear_cache' end diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 0b4cb165d..c449dfca3 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -11,6 +11,12 @@ +namespace :deploy do + after :published, 'deploy:clear_cache' +end + + + # server-based syntax # ====================== # Defines a single server with a list of roles and multiple properties.