mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Remove duplicated bundle install and yarn install
This commit is contained in:
parent
85918b2b3e
commit
244edb7dc5
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue