mirror of
https://github.com/YunoHost-Apps/uptime-kuma_ynh.git
synced 2024-10-01 13:34:58 +02:00
Merge pull request #15 from YunoHost-Apps/testing
Upgrade to v1.13.2 + exec npm install as app user
This commit is contained in:
commit
dc0a617664
7 changed files with 8 additions and 8 deletions
|
@ -29,7 +29,7 @@ It is a self-hosted monitoring tool like "Uptime Robot".
|
||||||
- Certificate Info
|
- Certificate Info
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.13.1~ynh1
|
**Shipped version:** 1.13.2~ynh1
|
||||||
|
|
||||||
**Demo:** https://demo.uptime.kuma.pet
|
**Demo:** https://demo.uptime.kuma.pet
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ It is a self-hosted monitoring tool like "Uptime Robot".
|
||||||
- Certificate Info
|
- Certificate Info
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.13.1~ynh1
|
**Version incluse :** 1.13.2~ynh1
|
||||||
|
|
||||||
**Démo :** https://demo.uptime.kuma.pet
|
**Démo :** https://demo.uptime.kuma.pet
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.13.1.tar.gz
|
SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.13.2.tar.gz
|
||||||
SOURCE_SUM=c549a3873ada86b810a8167165a0348ae8b725d8f20c1409e73e1690f0afaa34
|
SOURCE_SUM=d54ee9979c987bc754771c7d2b66474f19218e3a1bcddff35f6af08c85c670bb
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Self-hosted monitoring tool like Uptime-Robot",
|
"en": "Self-hosted monitoring tool like Uptime-Robot",
|
||||||
"fr": "Outil de surveillance auto-hébergé similaire à Uptime-Robot"
|
"fr": "Outil de surveillance auto-hébergé similaire à Uptime-Robot"
|
||||||
},
|
},
|
||||||
"version": "1.13.1~ynh1",
|
"version": "1.13.2~ynh1",
|
||||||
"url": "https://github.com/louislam/uptime-kuma/",
|
"url": "https://github.com/louislam/uptime-kuma/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -107,7 +107,7 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7
|
ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_exec_warn_less $ynh_npm install
|
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -82,7 +82,7 @@ ynh_use_nodejs
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=7
|
ynh_script_progression --message="Reinstalling dependencies..." --weight=7
|
||||||
|
|
||||||
cd $final_path && ynh_exec_warn_less $ynh_npm install
|
cd $final_path && ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE VARIOUS FILES
|
# RESTORE VARIOUS FILES
|
||||||
|
|
|
@ -99,7 +99,7 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7
|
ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_exec_warn_less $ynh_npm install
|
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue