Hopefully added functional deploy pipeline
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Jef Roosens 2021-05-03 19:07:20 +02:00
parent 9c2ba91b55
commit 89fb1dc15c
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30

View file

@ -10,4 +10,7 @@ pipeline:
image: alpine:3
commands:
- apk update
- apk add --no-cache rsync
- apk add --no-cache rsync openssh-client
- eval $(ssh-agent)
- echo "$DEPLOY_KEY" | ssh-add -
- rsync -e "ssh -p $DEPLOY_PORT" public -az --delete "$DEPLOY_DEST"