Update .drone.yml
continuous-integration/drone/push Build is passing Details

pull/1/head
Muhep Atasoy 2019-12-15 16:14:39 +03:00
parent 03c9496756
commit c5ddb39a41
1 changed files with 2 additions and 3 deletions

View File

@ -24,9 +24,8 @@ steps:
from_secret: id_rsa_pub from_secret: id_rsa_pub
commands: commands:
- mkdir ~/.ssh - mkdir ~/.ssh
- echo "$SSH_KEY" - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
- echo $SSH_KEY | tr -d '\r' > ~/.ssh/id_rsa - echo "$SSH_KEY_PUB" | tr -d '\r' > ~/.ssh/id_rsa.pub
- echo $SSH_KEY_PUB | tr -d '\r' > ~/.ssh/id_rsa.pub
- chmod 755 ~/.ssh - chmod 755 ~/.ssh
- chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa.pub - chmod 600 ~/.ssh/id_rsa.pub