fix(deploy.yml): enhance SSH connection testing for deployment
All checks were successful
Deploy to production / deploy (push) Successful in 1m8s

- Added options to disable strict host key checking and enable batch mode for improved SSH connection reliability during deployment.
This commit is contained in:
Torsten Schulz (local)
2026-03-30 11:40:00 +02:00
parent ed4c4e1b40
commit 8f461d4dba

View File

@@ -20,6 +20,8 @@ jobs:
- name: Test SSH connection - name: Test SSH connection
run: | run: |
ssh -i ~/.ssh/id_ed25519 \ ssh -i ~/.ssh/id_ed25519 \
-o StrictHostKeyChecking=no \
-o BatchMode=yes \
-p "${{ secrets.PROD_PORT }}" \ -p "${{ secrets.PROD_PORT }}" \
"${{ secrets.PROD_USER }}@${{ secrets.PROD_HOST }}" \ "${{ secrets.PROD_USER }}@${{ secrets.PROD_HOST }}" \
"echo SSH OK" "echo SSH OK"