mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 15:36:21 +00:00
fixup! ci: probar conexión a ssh antes de perder tiempo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
8b70efb0c1
commit
5ffbabfa47
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ pipeline:
|
|||
- "install -d -m 700 ~/.ssh/"
|
||||
- "echo \"$${KNOW_HOSTS}\" | base64 -d >> ~/.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)"
|
||||
- "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -"
|
||||
- "ssh $${ORIGIN%:*}"
|
||||
|
|
Loading…
Reference in a new issue