fix CI config

This commit is contained in:
Andrew 2023-02-20 12:01:22 -06:00
parent ce60becd17
commit 268f182cf5

View File

@ -15,7 +15,10 @@ pipeline:
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts - echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password - echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password ssh-add - - echo "$SSH_PRIVATE_KEY" > ~/.ssh/private-key
- chmod 600 ~/.ssh/private-key
- echo ~/.ssh/private-key
- DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password ssh-add ~/.ssh/private-key
- rsync -atv --delete --progress public/ backy@backy.cybershell.xyz:docs - rsync -atv --delete --progress public/ backy@backy.cybershell.xyz:docs
- rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go - rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go