Use alpine image in deploy step
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sam A. 2023-03-21 19:19:32 +01:00
parent 873436c8d9
commit 7bf7520ea0
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
1 changed files with 2 additions and 1 deletions

View File

@ -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