|
@ -36,6 +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` |
|
|
- wc -l <(echo "$SSH_PRIVATE_KEY") |
|
|
|
|
|
- ssh-add <(echo "$SSH_PRIVATE_KEY") |
|
|
|
|
|
|
|
|
- echo "$SSH_DRONE_PRIVATE_KEY" | wc -l |
|
|
|
|
|
- echo "$SSH_DRONE_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 |