fix CI config
This commit is contained in:
parent
a22566c8d0
commit
2787ef2bcc
@ -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
|
Loading…
Reference in New Issue
Block a user