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

Fix https url config

This commit is contained in:
tituspijean 2024-01-12 21:21:28 +01:00 committed by GitHub
parent ce63f5591e
commit c1cdca5b2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,6 +111,8 @@ else
pushd $install_dir/ghost pushd $install_dir/ghost
# Make sure the app does not expect to manage its own process # Make sure the app does not expect to manage its own process
ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost config --process local ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost config --process local
# Make sure the app config runs on https
ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost config --url https://$domain$path
# Upgrade Ghost itself # Upgrade Ghost itself
ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost update $(ynh_app_upstream_version) \ ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost update $(ynh_app_upstream_version) \
--no-prompt --no-auto-rollback --no-restart --no-prompt --no-auto-rollback --no-restart