diff --git a/.drone.yml b/.drone.yml index 6f83df8..c305df0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -128,7 +128,7 @@ steps: - name: deploy pull: if-not-exists - image: immawanderer/alpine-rsync:latest + image: alpine:3.15.0 when: status: - success @@ -144,6 +144,9 @@ steps: OL_D: from_secret: hugo_dir commands: + - apk update + - apk -U upgrade --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing + - apk add --no-cache ca-certificates rsync openssh-client sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing - echo $OL_P > nupass - export RSYNC_RSH='sshpass -f ./nupass ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' - rsync -av --delete --chown $OL public/ $OL@dotya.ml:$OL_D