|
@ -36,5 +36,6 @@ 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 -n $SSH_PRIVATE_KEY | wc -l |
|
|
- echo -n $SSH_PRIVATE_KEY | ssh-add - |
|
|
- echo -n $SSH_PRIVATE_KEY | ssh-add - |
|
|
- ssh $SSH_USERNAME@$SSH_TARGET ./deploy-ykonsole.sh $DRONE_BUILD_NUMBER |
|
|
- ssh $SSH_USERNAME@$SSH_TARGET ./deploy-ykonsole.sh $DRONE_BUILD_NUMBER |