Update stale env variable and switch back alpine
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2023-08-19 21:17:33 +01:00
parent 0f913e3099
commit e2ce39f9c1
1 changed files with 4 additions and 4 deletions

View File

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