From 022c38bdc28a4d5a885a3cdbaaa7154bf5b28439 Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Wed, 6 May 2026 18:08:36 +0300 Subject: [PATCH] fix(ci): frontend SSH init should test UI_HOST not WS_HOST Also bump ConnectTimeout to 5s for the frontend SSH init. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index cb9ea3e..74891e4 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -19,12 +19,12 @@ jobs: npm ci npm run build - - name: Set up SSH + - name: SSH init run: | mkdir -p ~/.ssh echo "${PUBLISH_KEY}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 - ssh -o ConnectTimeout=1 -o StrictHostKeyChecking=accept-new gitea_ci@${{ vars.WS_HOST }} 'echo $(hostname -f) connection succeeded' + ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=accept-new gitea_ci@${{ vars.UI_HOST }} 'echo $(hostname -f) connection succeeded' - name: Deploy static files to UI host run: |