5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 08:26:23 +00:00

fixup! ci: probar conexión a ssh antes de perder tiempo

This commit is contained in:
f 2023-03-16 10:04:06 -03:00
parent ccfc0fae34
commit 190aa74f58

View file

@ -31,12 +31,7 @@ pipeline:
- "apk add python2 dotenv openssh-client"
- "install -d -m 700 ~/.ssh/"
- "echo \"$${KNOWN_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts"
- "echo \"$${KNOWN_HOSTS}\""
- "echo \"$${KNOWN_HOSTS}\" | base64 -d"
- "chmod 600 ~/.ssh/known_hosts"
- "cat ~/.ssh/known_hosts"
- "ls -hal ~/.ssh"
- "echo \"$${ORIGIN}\" | cut -d @ -f 2 | cut -d : -f 1 | xargs ssh-keygen -F"
- "eval $(ssh-agent -s)"
- "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -"
- "ssh $${ORIGIN%:*}"