Update .drone.yml
This commit is contained in:
parent
171dc66cd1
commit
1047f66acc
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ steps:
|
|||
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
||||
- chmod 600 ~/.ssh/deploy_key
|
||||
- ssh-keygen -f ~/.ssh/deploy_key -y > ~/.ssh/deploy_key.pub
|
||||
- cat ~/.ssh/deploy_key.pub | cut -f3 -d" "
|
||||
- "cat ~/.ssh/deploy_key.pub | cut -f3 -d' '"
|
||||
- ssh -o StrictHostKeyChecking=no
|
||||
-i ~/.ssh/deploy_key
|
||||
"$SSH_USER@$SSH_HOST"
|
||||
|
|
Loading…
Add table
Reference in a new issue