Compare commits
No commits in common. "33696a8a3e9020b594947925a419700c6db33250" and "f7e69b7d3254dfedcba641fb0bf81bf65054fc21" have entirely different histories.
33696a8a3e
...
f7e69b7d32
1 changed files with 9 additions and 2 deletions
11
.drone.yml
11
.drone.yml
|
@ -53,8 +53,15 @@ 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