Improve self hosting docs and UI (#870)

This commit is contained in:
Zach Gollwitzer
2024-06-13 16:19:05 -04:00
committed by GitHub
parent 9956a9540e
commit d0a15b8a98
5 changed files with 221 additions and 101 deletions

View File

@@ -47,7 +47,7 @@ class Settings::HostingsController < SettingsController
end
end
if hosting_params[:upgrades_mode] != "manual" && hosting_params[:render_deploy_hook].blank?
if hosting_params[:upgrades_mode] == "auto" && hosting_params[:render_deploy_hook].blank?
@errors.add(:render_deploy_hook, t("settings.hostings.update.render_deploy_hook_error"))
end