mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 16:06:23 +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
5ffbabfa47
commit
3eef6fc1b4
1 changed files with 4 additions and 0 deletions
|
@ -31,7 +31,11 @@ pipeline:
|
|||
- "apk add python2 dotenv openssh-client"
|
||||
- "install -d -m 700 ~/.ssh/"
|
||||
- "echo \"$${KNOW_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts"
|
||||
- "echo \"$${KNOW_HOSTS}\""
|
||||
- "echo \"$${KNOW_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 -"
|
||||
|
|
Loading…
Reference in a new issue