From cbbe9d3cc53f6b9445b592ca7949ffc2cfbc0055 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 10 May 2019 17:24:58 +0200 Subject: [PATCH] Add cache clear --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index b90dddd..0cbd88a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -229,6 +229,7 @@ pushd "$final_path/live" sudo -u "$app" env PATH=$PATH RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails assets:clean sudo -u "$app" env PATH=$PATH RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails assets:precompile sudo -u "$app" env PATH=$PATH RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails db:migrate + sudo -u "$app" env PATH=$PATH RAILS_ENV=production bin/tootctl cache clear popd # If vapid_private_key doesn't exist, retrieve it or create it