fix(ci): staging SSH 默认目标改为业务机 47.98.113.167:22222 #2057
Reference in New Issue
Block a user
Delete Branch "fix/staging-ssh-host"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
排查发现 CI Deploy Staging 的默认兜底
STAGING_SSH_HOST=127.0.0.1、PORT=22已过时:当前为何没出问题
生产靠 secrets 覆盖(STAGING_SSH_HOST/STAGING_SSH_KEY),run #55689 Deploy Staging 成功、正确落到业务机。但一旦 secret 缺失就会静默退回到错误的 127.0.0.1。
改动
.gitea/workflows/ci-pipeline.yml:默认 host→47.98.113.167、port→22222,更新注释;scripts/ci_staging_healthcheck.sh:同步兜底值与注释。secrets 显式配置时仍优先生效,不影响现有部署。
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #2057 已关闭或合并,对应的预览环境已被清理。