diff --git a/scripts/upgrade b/scripts/upgrade index 81901e5..68c0ae9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,6 +103,25 @@ pushd "$final_path" popd +#================================================= +# SPECIFIC UPGRADE +#================================================= +ynh_script_progression --message="Upgrading Uptime Kuma other dependencies..." --weight=1 + +pushd "$final_path" + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm ci --production +popd + + +#================================================= +# SPECIFIC UPGRADE +#================================================= +ynh_script_progression --message="Upgrading Uptime Kuma yet another dependencies..." --weight=1 + + +pushd "$final_path" + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist +popd #================================================= # SETUP SYSTEMD #=================================================