Update .drone.yml
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Glenn Y. Rolland 2024-04-27 18:34:30 +00:00
parent 6495834e71
commit ba9df8a386

View file

@ -86,6 +86,11 @@ steps:
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
- chmod 600 ~/.ssh/deploy_key
- |
ssh -o StrictHostKeyChecking=no \
-i ~/.ssh/deploy_key \
"$SSH_USER@$SSH_HOST" \
ps:stop code
- |
ssh -o StrictHostKeyChecking=no \
-i ~/.ssh/deploy_key \