1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00
This commit is contained in:
Nicolas Frandeboeuf 2023-01-29 19:15:18 +01:00 committed by GitHub
commit 549700793e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -148,6 +148,9 @@ pushd "$final_path"
pushd "ghost/admin"
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn build --environment/production # well, except for the admin
popd
# Clean yarn cache (which takes a lot of disk space)
rm ./.cache/yarn/* -rf
popd
#=================================================

View file

@ -193,9 +193,12 @@ then
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn install --non-interactive
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn add knex-migrator ember-cli --dev --ignore-workspace-root-check --non-interactive
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn setup
pushd "ghost/admin"
pushd "ghost/admin"
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn build --environment/production
popd
# Clean yarn cache (which takes a lot of disk space)
rm ./.cache/yarn/* -rf
popd
fi