1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/umami_ynh.git synced 2024-10-01 13:34:50 +02:00

Yarn restore after copying data

This commit is contained in:
orhtej2 2023-09-22 12:36:13 +02:00
parent 2a570a26fe
commit 2cb254a4e3

View file

@ -79,13 +79,12 @@ mkdir "$install_dir/release"
chmod -R o-rwx "$install_dir/release"
chown -R $app:www-data "$install_dir/release"
mv -f $install_dir/build/.next/standalone/* $install_dir/release
pushd "$install_dir/release"
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add npm-run-all dotenv prisma
popd
mv -f $install_dir/build/.next/standalone/* $install_dir/release
rm -rf $install_dir/.cache
rm -rf $install_dir/build