fix CI config

This commit is contained in:
Andrew 2023-02-20 12:21:44 -06:00
parent b5fbf76496
commit b6c1741449

View File

@ -15,6 +15,8 @@ pipeline:
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
- chmod 700 ~/.ssh/.print_ssh_password
- tr -d '\r' < ~/.ssh/.print_ssh_password > out.sh
- mv out.sh ~/.ssh/.print_ssh_password
- eval $(ssh-agent -s)
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add -
- rsync -atv --delete --progress public/ backy@backy.cybershell.xyz:docs