Delete old screenshots when updating app

This commit is contained in:
Maikel Linke
2026-01-22 12:19:43 +11:00
parent f7e119d06f
commit b0b03cbb5f

View File

@@ -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"