Copy the deploy script from pleroma repo

6 jobs for master in 1 minute and 8 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Fetch And Build
passed #65579
fetch-and-build

00:00:46

 
  Deploy
failed #65584
deploy

00:00:22

failed #65580
deploy

00:00:23

failed #65583
deploy

00:00:23

failed #65581
deploy

00:00:22

failed #65582
deploy

00:00:23

 
Name Stage Failure
failed
deploy Deploy
$ eval $(ssh-agent -s)
Agent pid 15
$ echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
Identity added: (stdin) (ciuser@bleromer)
$ rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" site "${SSH_USER_HOST_LOCATION}/${BRANCH}"
ciuser@51.158.117.248: Permission denied (publickey,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.3]
ERROR: Job failed: exit code 255