ci: try fix

This commit is contained in:
Glenn Y. Rolland 2025-02-13 15:40:20 +01:00
parent b6ffe1bb58
commit f0b392bdc3

View file

@ -53,14 +53,16 @@ steps:
- chmod 600 ~/.ssh/deploy_key
- ssh-keygen -f ~/.ssh/deploy_key -y > ~/.ssh/deploy_key.pub
- "cat ~/.ssh/deploy_key.pub | cut -f3 -d' '"
- ssh -o StrictHostKeyChecking=no
-i ~/.ssh/deploy_key
"$SSH_USER@$SSH_HOST"
- |
ssh -o StrictHostKeyChecking=no \
-i ~/.ssh/deploy_key \
"$SSH_USER@$SSH_HOST" \
ps:stop social
- ssh -o StrictHostKeyChecking=no
-i ~/.ssh/deploy_key
"$SSH_USER@$SSH_HOST"
git:from-image social
- |
ssh -o StrictHostKeyChecking=no \
-i ~/.ssh/deploy_key \
"$SSH_USER@$SSH_HOST" \
git:from-image social \
"glenux/service-gotosocial:${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
- echo "SUCCESS"