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" 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 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 popd
# Clean yarn cache (which takes a lot of disk space)
rm ./.cache/yarn/* -rf
popd popd
#================================================= #=================================================

View file

@ -196,6 +196,9 @@ then
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 ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn build --environment/production
popd popd
# Clean yarn cache (which takes a lot of disk space)
rm ./.cache/yarn/* -rf
popd popd
fi fi