From e2ce39f9c1605f6518892fd65566f4be8701063f Mon Sep 17 00:00:00 2001 From: kayomn Date: Sat, 19 Aug 2023 21:17:33 +0100 Subject: [PATCH] Update stale env variable and switch back alpine --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 91b1cec..74b8d4a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: command: ["build"] - name: deploy - image: ubuntu:latest + image: alpine:latest environment: HOST: @@ -17,7 +17,7 @@ steps: USER: from_secret: user SSH_KEY: - from_secret: rsync_key + from_secret: ssh_key SITE_PATH: from_secret: path @@ -26,8 +26,8 @@ steps: - main commands: - - apt-get update - - apt-get install -y ssh rsync + - apk update + - apk add openssh rsync - eval $(ssh-agent -s) - mkdir -p ~/.ssh - echo "$SSH_KEY" > ~/.ssh/id_rsa