ci: debug secrets
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-02-21 13:13:57 +01:00
parent b41c034f6a
commit f9dd284042

View file

@ -75,6 +75,9 @@ steps:
SSH_PRIVATE_KEY: SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY from_secret: SSH_PRIVATE_KEY
commands: commands:
- echo $SSH_USER
- echo $SSH_HOST
- echo $SSH_PRIVATE_KEY
- apk update && apk add openssh-client - apk update && apk add openssh-client
- mkdir -p ~/.ssh && chmod 700 ~/.ssh - mkdir -p ~/.ssh && chmod 700 ~/.ssh
- 'echo "${SSH_PRIVATE_KEY}" | base64 -d > ~/.ssh/deploy_key' - 'echo "${SSH_PRIVATE_KEY}" | base64 -d > ~/.ssh/deploy_key'