develop #30
1 changed files with 6 additions and 1 deletions
|
@ -57,7 +57,12 @@ steps:
|
||||||
- ssh-keygen -f ~/.ssh/deploy_key -y > ~/.ssh/deploy_key.pub
|
- ssh-keygen -f ~/.ssh/deploy_key -y > ~/.ssh/deploy_key.pub
|
||||||
- "cat ~/.ssh/deploy_key.pub | cut -f3 -d' '"
|
- "cat ~/.ssh/deploy_key.pub | cut -f3 -d' '"
|
||||||
- ssh -o StrictHostKeyChecking=no -i ~/.ssh/deploy_key $SSH_TARGET ps:stop social
|
- ssh -o StrictHostKeyChecking=no -i ~/.ssh/deploy_key $SSH_TARGET ps:stop social
|
||||||
- ssh -o StrictHostKeyChecking=no -i ~/.ssh/deploy_key $SSH_TARGET 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"
|
||||||
|
git:from-image social
|
||||||
|
"glenux/service-gotosocial:${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
#
|
||||||
- echo "SUCCESS"
|
- echo "SUCCESS"
|
||||||
|
|
||||||
# volumes:
|
# volumes:
|
||||||
|
|
Loading…
Add table
Reference in a new issue