aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-10-11 21:30:51 +0200
committerGitHub <noreply@github.com>2017-10-11 21:30:51 +0200
commit244edb7dc5c84be752e6978abbe59e9b73f521b1 (patch)
tree487993a552410406bb1ec667ada9a970f894f3b4 /scripts
parent85918b2b3e43441c1d2dc821c9a0162da9089ce2 (diff)
downloadmastodon_ynh-244edb7dc5c84be752e6978abbe59e9b73f521b1.tar.gz
mastodon_ynh-244edb7dc5c84be752e6978abbe59e9b73f521b1.tar.bz2
mastodon_ynh-244edb7dc5c84be752e6978abbe59e9b73f521b1.zip
Remove duplicated bundle install and yarn install
Diffstat (limited to 'scripts')
-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