[deploy] Bug Fix:Execute Hypershield Refresh Task (#9858)

This commit is contained in:
Molly Struve 2020-08-18 14:35:27 -05:00 committed by GitHub
parent 09c3c25bf8
commit b003f45de8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,6 @@ if ENV["ENABLE_HYPERSHIELD"].present?
# runs AFTER db:prepare. Passing it as an argument will cause it to run BEFORE
# https://ruby-doc.org/stdlib-2.0.0/libdoc/rake/rdoc/Rake/Task.html#method-i-enhance
Rake::Task["db:prepare"].enhance do
Rake::Task["hypershield:refresh"]
Rake::Task["hypershield:refresh"].execute
end
end