mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 19:56: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/"
|
- "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%:*}"
|
||||||
|
|
Loading…
Reference in a new issue