diff --git a/README.md b/README.md index 0a8c211..bfba05a 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Ghost is a powerful app for new-media creators to publish, share, and grow a bus It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members. -**Shipped version:** 5.72.1~ynh1 +**Shipped version:** 5.75.3~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index cdbeda4..e142d73 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ Ghost is a powerful app for new-media creators to publish, share, and grow a bus It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members. -**Version incluse :** 5.72.1~ynh1 +**Version incluse :** 5.75.3~ynh1 ## Captures d’écran diff --git a/manifest.toml b/manifest.toml index db8b22d..5e4ac52 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Ghost" description.en = "Publishing, memberships, subscriptions and newsletters platform" description.fr = "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters" -version = "5.72.1~ynh1" +version = "5.75.3~ynh1" maintainers = ["Julien Malik"] [upstream] @@ -47,8 +47,8 @@ ram.runtime = "1G" [resources.sources.main] # Unused source, only to trigger the autoupdater prefetch = false - url = "https://github.com/TryGhost/Ghost/archive/refs/tags/v5.72.1.tar.gz" - sha256 = "5de4952512a1ffefa0b7b3b3112c9054ffc69cbfcc89287a376c1eba19bcf783" + url = "https://github.com/TryGhost/Ghost/archive/refs/tags/v5.75.3.tar.gz" + sha256 = "8bcf424b3724d27fcd17aa24f0b4c70aae3b3d53a64b8ce1911b64eb184052fe" autoupdate.strategy = "latest_github_release" [resources.system_user] diff --git a/scripts/change_url b/scripts/change_url index 78618c4..a249d8c 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -37,7 +37,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Modifying a config file..." -echo "$(jq -r --arg YNH_APP_NEW_DOMAIN $YNH_APP_NEW_DOMAIN --arg YNH_APP_NEW_PATH $YNH_APP_NEW_PATH ".url = \"http://$YNH_APP_NEW_DOMAIN$YNH_APP_NEW_PATH\"" $install_dir/ghost/config.production.json)" > $install_dir/ghost/config.production.json +echo "$(jq -r --arg YNH_APP_NEW_DOMAIN $YNH_APP_NEW_DOMAIN --arg YNH_APP_NEW_PATH $YNH_APP_NEW_PATH ".url = \"https://$YNH_APP_NEW_DOMAIN$YNH_APP_NEW_PATH\"" $install_dir/ghost/config.production.json)" > $install_dir/ghost/config.production.json #================================================= # GENERIC FINALISATION diff --git a/scripts/install b/scripts/install index feb96e3..573f726 100644 --- a/scripts/install +++ b/scripts/install @@ -36,7 +36,7 @@ pushd $install_dir ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost install $(ynh_app_upstream_version) \ --no-prompt --no-setup-systemd --no-start \ --dir ghost --no-setup-linux-user \ - --no-setup-nginx --no-setup-ssl --url http://$domain$path --port $port \ + --no-setup-nginx --no-setup-ssl --url https://$domain$path --port $port \ --db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \ --mail SMTP --mailhost 127.0.0.1 --mailport 465 diff --git a/scripts/upgrade b/scripts/upgrade index d64d26b..df7632b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -90,7 +90,7 @@ then ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost install $(ynh_app_upstream_version) \ --no-prompt --no-setup-systemd --no-start \ --dir ghost --no-setup-linux-user \ - --no-setup-nginx --no-setup-ssl --url http://$domain$path --port $port \ + --no-setup-nginx --no-setup-ssl --url https://$domain$path --port $port \ --db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \ --mail SMTP --mailhost 127.0.0.1 --mailport 465 popd @@ -113,7 +113,7 @@ else ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost config --process local # Upgrade Ghost itself 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 --force popd fi @@ -122,6 +122,7 @@ fi pushd $install_dir/ghost ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost config \ --port $port --process local \ + --url https://$domain$path \ --mail SMTP --mailuser noreply@$domain --mailpass $mail_pwd --mailhost 127.0.0.1 --mailport 25 popd