|
@ -35,5 +35,6 @@ steps: |
|
|
commands: |
|
|
commands: |
|
|
- apt-get update |
|
|
- apt-get update |
|
|
- apt-get -y install openssh-client |
|
|
- apt-get -y install openssh-client |
|
|
|
|
|
- eval `ssh-agent -s` |
|
|
- echo $SSH_PRIVATE_KEY | ssh-add - |
|
|
- echo $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 |