Update upgrade

This commit is contained in:
Hadrien 2022-05-04 09:12:59 +02:00 committed by GitHub
parent 48e57fc5dc
commit 6338c46f02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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