fix CI config
This commit is contained in:
parent
2787ef2bcc
commit
b5fbf76496
@ -14,6 +14,7 @@ pipeline:
|
|||||||
# - 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 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
|
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
|
||||||
|
- chmod 700 ~/.ssh/.print_ssh_password
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add -
|
- 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 public/ backy@backy.cybershell.xyz:docs
|
||||||
|
Loading…
Reference in New Issue
Block a user