Skip to content

Commit cd50de9

Browse files
committed
fix(ci): add all SSH host key types to avoid fingerprint mismatch
1 parent 74b9781 commit cd50de9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
mkdir -p ~/.ssh
6161
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
6262
chmod 600 ~/.ssh/id_rsa
63-
ssh-keyscan -H 103.235.75.227 >> ~/.ssh/known_hosts
63+
# Add all host key types to avoid fingerprint mismatch
64+
ssh-keyscan -t rsa,ecdsa,ed25519 103.235.75.227 >> ~/.ssh/known_hosts
6465
6566
- name: Create Kamal secrets file
6667
run: |

0 commit comments

Comments
 (0)