1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

Fix Upgrade

This commit is contained in:
nemsia 2018-06-08 16:10:26 +02:00
parent 7ca04c5425
commit 4d55217264

View file

@ -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