develop #30
1 changed files with 3 additions and 3 deletions
|
@ -47,8 +47,8 @@ steps:
|
||||||
- export $SSH_TARGET="$SSH_USER@$SSH_HOST"
|
- export $SSH_TARGET="$SSH_USER@$SSH_HOST"
|
||||||
- set -x
|
- set -x
|
||||||
- echo "$SSH_TARGET"
|
- echo "$SSH_TARGET"
|
||||||
- echo $SSH_USER
|
- echo $SSH_USER | wc -c
|
||||||
- echo $SSH_HOST
|
- echo $SSH_HOST | wc -c
|
||||||
- echo $SSH_PRIVATE_KEY
|
- echo $SSH_PRIVATE_KEY
|
||||||
- apk update && apk add openssh-client
|
- apk update && apk add openssh-client
|
||||||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||||
|
@ -59,7 +59,7 @@ steps:
|
||||||
- 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
|
- 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_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
|
"glenux/service-gotosocial:${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue