Skip to content

Commit 210f827

Browse files
committed
fix the connection of ssh 2
1 parent b8970e2 commit 210f827

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
with:
2121
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
2222

23-
- name: Deploy to Droplet
23+
- name: Debug SSH Connection
2424
run: |
25-
ssh -vvv -o "UseDNS=no" -o ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}
25+
ssh -vvv -o "UseDNS=no" -o "StrictHostKeyChecking=no" ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}
2626
2727
- name: Test we are connect to the server
2828
run: mkdir generate_with_github_actions

0 commit comments

Comments
 (0)