From 7bf7520ea02c23ccc45fd85037cb0b0621e35ef1 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Tue, 21 Mar 2023 19:19:32 +0100 Subject: [PATCH] Use alpine image in deploy step --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5b20971..b294ac5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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