ci: use upstream alpine image for stagin runs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
34bf219bde
commit
b67aaf5aa3
@ -128,7 +128,7 @@ steps:
|
|||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: immawanderer/alpine-rsync:latest
|
image: alpine:3.15.0
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
@ -144,6 +144,9 @@ steps:
|
|||||||
OL_D:
|
OL_D:
|
||||||
from_secret: hugo_dir
|
from_secret: hugo_dir
|
||||||
commands:
|
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
|
- echo $OL_P > nupass
|
||||||
- export RSYNC_RSH='sshpass -f ./nupass ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
|
- 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
|
- rsync -av --delete --chown $OL public/ $OL@dotya.ml:$OL_D
|
||||||
|
Loading…
Reference in New Issue
Block a user