diff --git a/scripts/_common.sh b/scripts/_common.sh index 1f2e3b5..8511675 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,22 +4,21 @@ # COMMON VARIABLES #================================================= -nodejs_version="14.19.3" +nodejs_version="14" #================================================= # PERSONAL HELPERS #================================================= _digiscreen_build() { - ( - cd "$install_dir/sources" + pushd "$install_dir/sources" echo "VUE_APP_PIXABAY_API_KEY=$pixabay" >> .env echo "VUE_APP_GOOGLE_API_KEY=$googleYoutube" >> .env ynh_use_nodejs ynh_npm install ynh_npm run build - ) + popd } #=================================================