diff options
| author | nemsia <nemsia@nemsia.org> | 2018-06-08 16:10:26 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2018-06-08 16:10:26 +0200 |
| commit | 4d552172643c981e10490e21e4c343baad5a933e (patch) | |
| tree | b07128e3d4e809401739dd3dab8c0524341559e4 | |
| parent | 7ca04c54256ccdd516a4869973f66b9f34cdf2ce (diff) | |
| download | mastodon_ynh-4d552172643c981e10490e21e4c343baad5a933e.tar.gz mastodon_ynh-4d552172643c981e10490e21e4c343baad5a933e.tar.bz2 mastodon_ynh-4d552172643c981e10490e21e4c343baad5a933e.zip | |
Fix Upgrade
| -rw-r--r-- | scripts/upgrade | 2 |
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 |
