1
0
forked from Git/send_ynh

Update upgrade

This commit is contained in:
ericgaspar 2021-08-25 19:01:31 +02:00
parent 6bc70a7df7
commit 8f20c7eb92

View File

@ -18,14 +18,12 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path)
is_public=$(ynh_app_setting_get --app=$app --key=is_public)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
port=$(ynh_app_setting_get --app=$app --key=port)
#=================================================
# CHECK VERSION
#=================================================
ynh_script_progression --message="Checking version..."
upgrade_type=$(ynh_check_app_version_changed)
@ -122,8 +120,8 @@ then
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app npm install
ynh_exec_warn_less ynh_exec_as $app npm run build
ynh_exec_warn_less ynh_npm install
ynh_exec_warn_less ynh_npm run build
popd
fi