5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-05 04:16:56 +00:00

fixup! ci: probar conexión a ssh antes de perder tiempo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2023-03-16 09:57:17 -03:00
parent 8b70efb0c1
commit 5ffbabfa47

View file

@ -32,6 +32,7 @@ pipeline:
- "install -d -m 700 ~/.ssh/" - "install -d -m 700 ~/.ssh/"
- "echo \"$${KNOW_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts" - "echo \"$${KNOW_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts"
- "chmod 600 ~/.ssh/known_hosts" - "chmod 600 ~/.ssh/known_hosts"
- "echo \"$${ORIGIN}\" | cut -d @ -f 2 | cut -d : -f 1 | xargs ssh-keygen -F"
- "eval $(ssh-agent -s)" - "eval $(ssh-agent -s)"
- "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -" - "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -"
- "ssh $${ORIGIN%:*}" - "ssh $${ORIGIN%:*}"