5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 21:16:23 +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:55:08 -03:00
parent 2b0c1d88fd
commit 8b70efb0c1

View file

@ -29,7 +29,7 @@ pipeline:
image: "registry.nulo.in/sutty/panel:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}" image: "registry.nulo.in/sutty/panel:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
commands: commands:
- "apk add python2 dotenv openssh-client" - "apk add python2 dotenv openssh-client"
- "install -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"
- "eval $(ssh-agent -s)" - "eval $(ssh-agent -s)"