fix CI config

This commit is contained in:
Andrew 2023-02-20 12:15:29 -06:00
parent a22566c8d0
commit 2787ef2bcc

View File

@ -15,11 +15,10 @@ pipeline:
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
- eval $(ssh-agent -s)
- echo "$SSH_DEPLOY_KEY" > ~/.ssh/private-key
- chmod 600 ~/.ssh/private-key
- cat ~/.ssh/private-key
- DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password ssh-add ~/.ssh/private-key
- 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
- rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go
secrets: [ ssh_host_key, ssh_deploy_key, ssh_passphrase ]
branches: master