Merge pull request 'ci: fix quotes' (#26) from develop into master
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #26
This commit is contained in:
commit
8ef4189d95
1 changed files with 4 additions and 6 deletions
10
.drone.yml
10
.drone.yml
|
@ -53,17 +53,15 @@ steps:
|
||||||
- chmod 600 ~/.ssh/deploy_key
|
- chmod 600 ~/.ssh/deploy_key
|
||||||
- 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 \
|
||||||
ssh -o StrictHostKeyChecking=no \
|
|
||||||
-i ~/.ssh/deploy_key \
|
-i ~/.ssh/deploy_key \
|
||||||
"$SSH_USER@$SSH_HOST" \
|
"$SSH_USER@$SSH_HOST" \
|
||||||
ps:stop social
|
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}"'
|
||||||
- echo "SUCCESS"
|
- echo "SUCCESS"
|
||||||
|
|
||||||
# volumes:
|
# volumes:
|
||||||
|
|
Loading…
Add table
Reference in a new issue