Skip to content

Commit

Permalink
Changed to only run task on production deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
strtwtsn committed Jan 29, 2021
1 parent 2300d71 commit af6bf96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit af6bf96

Please sign in to comment.