Use alpine image in deploy step
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
873436c8d9
commit
7bf7520ea0
|
@ -13,11 +13,12 @@ steps:
|
||||||
- hugo
|
- hugo
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: alpine/git:latest
|
image: alpine:latest
|
||||||
environment:
|
environment:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
commands:
|
commands:
|
||||||
|
- apk add --no-cache openssh-client rsync
|
||||||
- mkdir ~/.ssh
|
- mkdir ~/.ssh
|
||||||
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
|
|
Loading…
Reference in a new issue