Re-load deploy helpers after pull and wait for HTTP ready.
Quick update was verifying with stale in-memory functions before Flask bound. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -19,6 +19,9 @@ require_installed() {
|
||||
update_quick() {
|
||||
step "快速更新"
|
||||
bash "${REPO_ROOT}/deploy/pull_and_restart.sh"
|
||||
# git pull 后重新加载,避免菜单进程仍用旧的 verify_deployment
|
||||
# shellcheck source=common.sh
|
||||
source "${LIB_DIR}/common.sh"
|
||||
verify_deployment "$(detect_server_ip)" || true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user