diff --git a/.woodpecker.yml b/.woodpecker.yml index fe994bd..234bb5d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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"