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

master
Jef Roosens 2021-05-03 19:07:20 +02:00
parent 9c2ba91b55
commit 89fb1dc15c
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 4 additions and 1 deletions

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"