Skip to content

Commit

Permalink
ci: be more stubborn with ssh-keyscan
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrone-sudeium committed Jan 5, 2024
1 parent a9fc870 commit 4cbd321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
echo 1
MACHINE_IP="$(tailscale ip -4 charon)"
echo 2
ssh-keyscan -v -t ed25519 "$MACHINE_IP" >> ~/.ssh/known_hosts
for i in $(seq 1 5); do ssh-keyscan -v -t ed25519 "$MACHINE_IP" >> ~/.ssh/known_hosts && s=0 && break || s=$? && sleep 5; done; (exit $s)
echo 3
printf "%s" "$SSH_KEY" > ~/.ssh/key
echo 4
Expand Down

0 comments on commit 4cbd321

Please sign in to comment.