From 7e2649172f65f7b4de9d8faa2aa83ac9ea0f7565 Mon Sep 17 00:00:00 2001 From: zj1123581321 Date: Fri, 16 Oct 2026 10:08:18 +0800 Subject: [PATCH] =?UTF-8?q?deploy=20pre-flight/verify=20=E5=89=8D=E7=BD=AE?= =?UTF-8?q?=20Tailscale=20=E5=85=A5=E7=BD=91=EF=BC=8C=E4=BF=AE=E5=A4=8D=20?= =?UTF-8?q?runner=20=E5=87=BA=20tailnet=20=E7=9A=84=20SSH=20host=20key=20?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dispatch-Id: dlg-20261016-012851-03ef4e Task-Id: VideoTranscriptAPI-20261015-09 Fixes-Issue: #249 Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high --- .github/workflows/deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 34061fff..edf8756c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,6 +43,13 @@ jobs: runs-on: [self-hosted, linux, x64, codex] timeout-minutes: 5 steps: + - name: Connect to Tailscale + # VM201 runner 不在 tailnet,直连 100.68.21.80 走公网 CGNAT 路由会撞上 ISP 内其他设备 + # (run 38834509231 Host key verification failed);与 ship 内 ci-templates 同款临时入网,job 结束自动下线。 + uses: tailscale/github-action@4e4c49acaa9818630ce0bd7a564372c17e33fb4d # v2 + with: + authkey: ${{ secrets.TS_AUTHKEY }} + - name: Set up SSH env: SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} @@ -141,6 +148,13 @@ jobs: runs-on: [self-hosted, linux, x64, codex] timeout-minutes: 5 steps: + - name: Connect to Tailscale + # 与 pre-flight 同款:本 job 的 identity 对账 / inode 对账 / 回滚三个 SSH step 都 + # 需要先入 tailnet 才能到 100.68.21.80(run 38834509231 同因)。 + uses: tailscale/github-action@4e4c49acaa9818630ce0bd7a564372c17e33fb4d # v2 + with: + authkey: ${{ secrets.TS_AUTHKEY }} + - name: Set up SSH env: SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}