develop #25
2 changed files with 11 additions and 8 deletions
16
.drone.yml
16
.drone.yml
|
@ -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"
|
||||
|
||||
|
|
|
@ -5,4 +5,5 @@
|
|||
# FROM superseriousbusiness/gotosocial:0.15.0
|
||||
# FROM superseriousbusiness/gotosocial:0.16.0
|
||||
# FROM superseriousbusiness/gotosocial:0.17.0
|
||||
FROM superseriousbusiness/gotosocial:0.17.4
|
||||
# FROM superseriousbusiness/gotosocial:0.17.4
|
||||
FROM superseriousbusiness/gotosocial:0.18.0
|
||||
|
|
Loading…
Add table
Reference in a new issue