mirror of
https://github.com/YunoHost-Apps/decidim_ynh.git
synced 2024-09-03 18:26:00 +02:00
Fix upgrade
This commit is contained in:
parent
87dc238f4f
commit
00fd512245
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
pushd "$final_path/live"
|
pushd "$final_path/live"
|
||||||
ynh_secure_remove --file="$final_path/live/Gemfile.lock"
|
ynh_secure_remove --file="$final_path/live/Gemfile.lock"
|
||||||
|
bundle install
|
||||||
bundle update decidim
|
bundle update decidim
|
||||||
ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails decidim:upgrade
|
ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails decidim:upgrade
|
||||||
ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails db:migrate
|
ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails db:migrate
|
||||||
|
|
Loading…
Reference in a new issue