[deploy] Bug Fix: Refresh Hypershield after db:prepare if Enabled (#9353)
This commit is contained in:
parent
e9cafe5de6
commit
397c9ed2bf
1 changed files with 4 additions and 0 deletions
|
|
@ -13,3 +13,7 @@ namespace :app_initializer do
|
|||
SiteConfig.health_check_token ||= SecureRandom.hex(10)
|
||||
end
|
||||
end
|
||||
|
||||
if ENV["ENABLE_HYPERSHIELD"].present?
|
||||
Rake::Task["db:prepare"].enhance(["hypershield:refresh"])
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue