|
@ -36,6 +36,5 @@ steps: |
|
|
- apt-get update |
|
|
- apt-get update |
|
|
- apt-get -y install openssh-client |
|
|
- apt-get -y install openssh-client |
|
|
- eval `ssh-agent -s` |
|
|
- eval `ssh-agent -s` |
|
|
- echo "$SSH_DRONE_PRIVATE_KEY" | wc -l |
|
|
|
|
|
- echo "$SSH_DRONE_PRIVATE_KEY" | ssh-add - |
|
|
- echo "$SSH_DRONE_PRIVATE_KEY" | ssh-add - |
|
|
- ssh -o StrictHostKeyChecking=no $SSH_USERNAME@$SSH_TARGET ./deploy-ykonsole.sh $DRONE_BUILD_NUMBER |
|
|
- ssh -o StrictHostKeyChecking=no $SSH_USERNAME@$SSH_TARGET ./deploy-ykonsole.sh $DRONE_BUILD_NUMBER |