From 666fbefe87a083200a5411ca40d806ad65c9043d Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Sun, 27 Sep 2026 17:32:06 +0800 Subject: [PATCH] ci(pipeline): fix staging SSH default to 116.62.226.203:22 --- .gitea/workflows/ci-pipeline.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index 57f7ceab4..20878d205 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -1238,13 +1238,13 @@ jobs: ACR_PASSWORD: "${{ secrets.ACR_PASSWORD }}" run: | set -eux - # Staging 业务机 = 47.98.113.167(公网 sshd 端口 22222;22 被云盾策略限制)。 - # 116.62.226.203 现为独立 CI runner,不承载业务容器。 + # Staging 业务机 = 116.62.226.203(公网 sshd 端口 22)。 + # 47.98.113.167 现为生产机(sshd 端口 22222),不承载 staging 容器。 # CI job 在隔离容器网络内执行,127.0.0.1 会指向 job 容器自身而失败, # 故默认目标必须是 staging 业务机;仍可通过 secrets 覆盖。 - staging_host="${STAGING_SSH_HOST:-47.98.113.167}" + staging_host="${STAGING_SSH_HOST:-116.62.226.203}" staging_user="${STAGING_SSH_USER:-root}" - staging_port="${STAGING_SSH_PORT:-22222}" + staging_port="${STAGING_SSH_PORT:-22}" echo "Host: $staging_host" echo "Port: $staging_port"