From 47f8b395f48c43432a2b6e5c07db0327588bb904 Mon Sep 17 00:00:00 2001 From: highperfocused Date: Wed, 21 Jan 2026 22:31:11 +0100 Subject: [PATCH] fix: add StrictHostKeyChecking option to SSH command in deploy workflow --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 998c0fb..f95c070 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,7 @@ jobs: USER: ${{ secrets.VPS_USER }} PORT: ${{ secrets.VPS_PORT }} run: | - ssh -p "${PORT:-22}" "${USER}@${HOST}" << 'EOF' + ssh -p "${PORT:-22}" -o StrictHostKeyChecking=accept-new "${USER}@${HOST}" << 'EOF' set -euo pipefail APP_DIR="/root/relay"