1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lingva_ynh.git synced 2024-09-03 19:36:20 +02:00

tambah pesan bahwa aplikasi sedang dibangun

This commit is contained in:
nekoneko 2023-05-29 17:24:24 +07:00
parent 95c74b0f2d
commit c85ba51330

View file

@ -36,6 +36,11 @@ then
ynh_replace_string --match_string="NEXT_PUBLIC_SITE_DOMAIN=$old_domain" --replace_string="NEXT_PUBLIC_SITE_DOMAIN=$new_domain" --target_file="$install_dir/.env.local"
fi
#=================================================
# REBUILDING AND INSTALL THE APP
#=================================================
ynh_script_progression --message="Rebuilding the app..." --weight=1
npm install --prefix "$install_dir"
npx next telemetry disable
npm run build --prefix "$install_dir"