fix CI config

master
Andrew 1 year ago
parent b5fbf76496
commit b6c1741449

@ -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

Loading…
Cancel
Save