debug(ci): print SSH key fingerprint to verify key integrity
Build & Deploy / build (push) Successful in 32s
Build & Deploy / docker (push) Successful in 17s
Build & Deploy / deploy (push) Failing after 13s

This commit is contained in:
L HEREEC Kevin INNOV/PTFM committed 2026-07-13 13:02:16 +02:00
1 parent 420d31176c
commit c1eb606d01
1 file changed
+2 -1
+2 -1
View File
@@ -54,8 +54,9 @@ jobs:
apk add --no-cache openssh-client
# Installer la clé privée dans /tmp (filesystem accessible en écriture)
printf '%s' "${{ secrets.SSH_PRIVATE_KEY }}" > /tmp/id_ed25519
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /tmp/id_ed25519
chmod 600 /tmp/id_ed25519
ssh-keygen -l -f /tmp/id_ed25519
SSH="ssh -i /tmp/id_ed25519 -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o BatchMode=yes Stude12@192.168.1.39"