Compare commits
2 commits
f7e69b7d32
...
33696a8a3e
Author | SHA1 | Date | |
---|---|---|---|
33696a8a3e | |||
a634e2ae46 |
1 changed files with 2 additions and 9 deletions
11
.drone.yml
11
.drone.yml
|
@ -53,15 +53,8 @@ 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\" \
|
||||
ps:stop 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}\""
|
||||
- "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 \"glenux/service-gotosocial:${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}\""
|
||||
- echo "SUCCESS"
|
||||
|
||||
# volumes:
|
||||
|
|
Loading…
Add table
Reference in a new issue