mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
Delete old screenshots when updating app
This commit is contained in:
@@ -31,6 +31,7 @@ FileUtils.chdir APP_ROOT do
|
||||
|
||||
puts "\n== Preparing database, removing old logs and tempfiles =="
|
||||
system! "bin/rails db:prepare log:clear tmp:clear"
|
||||
system! "rm -f tmp/capybara/screenshots/*.png"
|
||||
|
||||
puts "\n== Restarting application server =="
|
||||
# system! "bin/rails restart"
|
||||
|
||||
Reference in New Issue
Block a user