This commit is contained in:
parent
b2299d74fe
commit
c0c79e45cd
1 changed files with 8 additions and 9 deletions
17
.drone.yml
17
.drone.yml
|
@ -83,17 +83,16 @@ steps:
|
||||||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||||
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
||||||
- chmod 600 ~/.ssh/deploy_key
|
- chmod 600 ~/.ssh/deploy_key
|
||||||
- |
|
- ssh -o StrictHostKeyChecking=no
|
||||||
ssh -o StrictHostKeyChecking=no \
|
-i ~/.ssh/deploy_key
|
||||||
-i ~/.ssh/deploy_key \
|
"$SSH_USER@$SSH_HOST"
|
||||||
"$SSH_USER@$SSH_HOST" \
|
|
||||||
ps:stop social
|
ps:stop social
|
||||||
- |
|
- ssh -o StrictHostKeyChecking=no
|
||||||
ssh -o StrictHostKeyChecking=no \
|
-i ~/.ssh/deploy_key
|
||||||
-i ~/.ssh/deploy_key \
|
"$SSH_USER@$SSH_HOST"
|
||||||
"$SSH_USER@$SSH_HOST" \
|
git:from-image social
|
||||||
git:from-image social \
|
|
||||||
"glenux/service-gotosocial:${DRONE_COMMIT_SHA:0:8}"
|
"glenux/service-gotosocial:${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
#
|
||||||
- echo "SUCCESS"
|
- echo "SUCCESS"
|
||||||
|
|
||||||
# volumes:
|
# volumes:
|
||||||
|
|
Loading…
Reference in a new issue