fix: add StrictHostKeyChecking option to SSH command in deploy workflow

This commit is contained in:
2026-01-21 22:31:11 +01:00
parent 4beffcfa2f
commit 47f8b395f4

View File

@@ -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"