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:
parent
2a570a26fe
commit
2cb254a4e3
1 changed files with 2 additions and 3 deletions
|
@ -79,13 +79,12 @@ mkdir "$install_dir/release"
|
||||||
chmod -R o-rwx "$install_dir/release"
|
chmod -R o-rwx "$install_dir/release"
|
||||||
chown -R $app:www-data "$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"
|
pushd "$install_dir/release"
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add npm-run-all dotenv prisma
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add npm-run-all dotenv prisma
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
mv -f $install_dir/build/.next/standalone/* $install_dir/release
|
|
||||||
|
|
||||||
rm -rf $install_dir/.cache
|
rm -rf $install_dir/.cache
|
||||||
rm -rf $install_dir/build
|
rm -rf $install_dir/build
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue