fix CI config
This commit is contained in:
parent
92f721d86d
commit
c025ee1be5
@ -13,10 +13,10 @@ pipeline:
|
|||||||
- mkdir ~/.ssh && chmod -R 700 ~/.ssh
|
- mkdir ~/.ssh && chmod -R 700 ~/.ssh
|
||||||
# - apt update -y && apt install openssh-client rsync -y
|
# - apt update -y && apt install openssh-client rsync -y
|
||||||
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
|
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
|
||||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/backy.andrewnw.xyz
|
|
||||||
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
|
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add <( echo "$SSH_PRIVATE_KEY" base64 -w0 | base64 -d)
|
- echo "$SSH_PRIVATE_KEY"
|
||||||
|
- echo "$SSH_PRIVATE_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 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user