update
continuous-integration/drone/push Build is failing Details

master
Evan Chen 2021-11-11 12:19:39 +08:00
parent eccc0c514a
commit 5def97036b
1 changed files with 2 additions and 1 deletions

View File

@ -7,5 +7,6 @@ steps:
KEY: KEY:
from_secret: key from_secret: key
commands: commands:
- echo $KEY > /id_rsa.pub - echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
- echo $KEY > ~/.ssh/id_rsa.pub
- ssh kumoly@kumoly.io -i /id_rsa.pub -p 2222 ls - ssh kumoly@kumoly.io -i /id_rsa.pub -p 2222 ls