forked from Git/send_ynh
Fix
This commit is contained in:
1 parent
f0f0587afd
commit
9f8e5adbe2
3 files changed
+18
-7
No files matched your search
+9
-4
@@ -118,11 +118,16 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Building $app... (this will take some time and resources!)" --weight=16
|
||||
|
||||
#pushd "$final_path"
|
||||
# ynh_use_nodejs
|
||||
# ynh_exec_warn_less ynh_npm install
|
||||
# ynh_exec_warn_less ynh_npm run build
|
||||
#popd
|
||||
pushd "$final_path"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_npm install
|
||||
ynh_exec_warn_less ynh_npm run build
|
||||
popd
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install
|
||||
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm run build
|
||||
popd
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
||||
Reference in new issue
Block a user