Skip to content

Commit cdad805

Browse files
authored
Update main.yml
1 parent 8c02d89 commit cdad805

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
echo "$SSH_PRIVATE_KEY" > ~/.ssh/deployment_key
2828
chmod 600 ~/.ssh/deployment_key
2929
eval "$(ssh-agent -s)"
30+
ssh-add -D # Clear any other SSH keys
3031
echo "$VM_PASSPHRASE" | ssh-add ~/.ssh/deployment_key
3132
3233
- name: Add VM to known_hosts

0 commit comments

Comments
 (0)