mirror of
https://github.com/YunoHost-Apps/thelounge_ynh.git
synced 2024-09-03 20:35:54 +02:00
Update upgrade
This commit is contained in:
parent
247f25a90a
commit
9c3cea40f9
1 changed files with 3 additions and 4 deletions
|
@ -132,10 +132,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
#export NODE_ENV=production
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
|
||||||
yarn install --production=true --silent
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build
|
||||||
yarn add webpack webpack-dev-server --dev --non-interactive
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn link
|
||||||
yarn build --non-interactive
|
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue