aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 7384e42..682df3e 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -82,14 +82,14 @@ sudo su - $app <<MCOMMANDS
pushd ~/live
$final_path/.rbenv/versions/2.4.2/bin/gem install bundler
bin/bundle install --deployment --without development test
-yarn install --production
+yarn install --pure-lockfile
MCOMMANDS
# Apply Mastodon upgrade
sudo su - $app <<COMMANDS
pushd ~/live
-bin/bundle install
-yarn install --pure-lockfile
+#bin/bundle install
+#yarn install --pure-lockfile
# For 1.4.1 -> 1.4.2 migration prepare_for_foreign_keys is needed
# RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys
RAILS_ENV=production bundle exec rails assets:clean