fix(deploy.yml): enhance SSH connection testing for deployment
All checks were successful
Deploy to production / deploy (push) Successful in 1m8s
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:
@@ -20,6 +20,8 @@ jobs:
|
||||
- name: Test SSH connection
|
||||
run: |
|
||||
ssh -i ~/.ssh/id_ed25519 \
|
||||
-o StrictHostKeyChecking=no \
|
||||
-o BatchMode=yes \
|
||||
-p "${{ secrets.PROD_PORT }}" \
|
||||
"${{ secrets.PROD_USER }}@${{ secrets.PROD_HOST }}" \
|
||||
"echo SSH OK"
|
||||
|
||||
Reference in New Issue
Block a user