fix(ci): 修复生产部署SSH密钥查找失败 + 通知脚本路径问题 #313

Merged
xiaoxia merged 1 commits from fix/deploy-production-ssh-key into develop 2026-07-14 11:53:03 +08:00
Owner

修复 v0.1.129 生产部署失败的两个问题:

  1. SSH 密钥查找失败:Runner 上已有 ~/.ssh/id_ed25519,但脚本只找 xiaoxia_runtime_builder 命名的 key。新增 id_ed25519 作为 fallback。

  2. 通知脚本找不到deploy-production job 没有 checkout 代码步骤,失败时 scripts/ci_notify_failure.py 找不到。新增 checkout 步骤。

修复 v0.1.129 生产部署失败的两个问题: 1. **SSH 密钥查找失败**:Runner 上已有 `~/.ssh/id_ed25519`,但脚本只找 `xiaoxia_runtime_builder` 命名的 key。新增 `id_ed25519` 作为 fallback。 2. **通知脚本找不到**:`deploy-production` job 没有 checkout 代码步骤,失败时 `scripts/ci_notify_failure.py` 找不到。新增 checkout 步骤。
xiaoxia added 1 commit 2026-07-14 11:51:15 +08:00
fix(ci): 修复生产部署SSH密钥查找 + 新增checkout步骤
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 53s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 1m9s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m12s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Successful in 3m8s
5e3188aab0
- SSH密钥查找增加 id_ed25519 作为备选(Runner已有)
- deploy-production job 增加checkout步骤,确保通知脚本能找到
- 修复部署失败时ci_notify_failure.py找不到的问题
xiaoxia merged commit 2b5b650b9e into develop 2026-07-14 11:53:03 +08:00
Sign in to join this conversation.