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
|
||||
|
||||
- name: deploy
|
||||
image: alpine/git:latest
|
||||
image: alpine:latest
|
||||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
commands:
|
||||
- apk add --no-cache openssh-client rsync
|
||||
- mkdir ~/.ssh
|
||||
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
|
|
Loading…
Reference in a new issue