aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/upgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 4ceea66..3858ee8 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -141,8 +141,10 @@ MCOMMANDS
# Apply Mastodon upgrade
(
+pushd $final_path/live
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:clean
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:precompile
+popd
sudo su - $app <<COMMANDS
pushd ~/live