ci: Add missing package ssh
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-02-21 13:01:48 +01:00
parent ea56ba2149
commit 002064ee72

View file

@ -75,8 +75,8 @@ steps:
SSH_PRIVATE_KEY: SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY from_secret: SSH_PRIVATE_KEY
commands: commands:
- mkdir -p ~/.ssh - apk update && apk add ssh
- chmod 700 ~/.ssh - mkdir -p ~/.ssh && chmod 700 ~/.ssh
- 'echo "${SSH_PRIVATE_KEY}" > ~/.ssh/deploy_key' - 'echo "${SSH_PRIVATE_KEY}" > ~/.ssh/deploy_key'
- chmod 600 ~/.ssh/deploy_key - chmod 600 ~/.ssh/deploy_key
- 'ssh -i ~/.ssh/deploy_key ${SSH_USER}@${SSH_HOST} ls -l /' - 'ssh -i ~/.ssh/deploy_key ${SSH_USER}@${SSH_HOST} ls -l /'