Skip to content

Commit

Permalink
respect existing key in act local env
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuto-m committed Feb 10, 2025
1 parent 52ec134 commit 28599c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sunbeam-multi-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
# use `sudo` instead of `sg libvirt` for simplicity in testing
# SSH
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N ''
if [ ! -f ~/.ssh/id_ed25519 ]; then
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N ''
fi
cat <<EOF | tee -a ~/.ssh/config
Host sunbeam-machine-1
User ubuntu
Expand Down

0 comments on commit 28599c0

Please sign in to comment.