This commit is contained in:
parent
e56d3e8c48
commit
74d5d6edbc
1 changed files with 5 additions and 5 deletions
10
.drone.yml
10
.drone.yml
|
@ -85,11 +85,11 @@ steps:
|
||||||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||||
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
||||||
- chmod 600 ~/.ssh/deploy_key
|
- chmod 600 ~/.ssh/deploy_key
|
||||||
- >
|
- |
|
||||||
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 code
|
git:from-image code \
|
||||||
"glenux/service-forgejo:${DRONE_COMMIT_SHA:0:8}"
|
"glenux/service-forgejo:${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
|
||||||
# volumes:
|
# volumes:
|
||||||
|
|
Loading…
Reference in a new issue