fix CI config
This commit is contained in:
parent
6b7fdc2445
commit
7a0aea66c1
@ -13,8 +13,8 @@ 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 -e '#!/bin/bash\necho "$SSH_PASSPHRASE"' | tr -d '\r' > ~/.ssh/.print_ssh_password
|
- echo -e '#!/bin/sh\necho "$SSH_PASSPHRASE"' | tr -d '\r' > ~/.ssh/.print_ssh_password
|
||||||
- cat ~/.ssh/.print_ssh_password
|
# - cat ~/.ssh/.print_ssh_password
|
||||||
- chmod 700 ~/.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 -
|
||||||
|
Loading…
Reference in New Issue
Block a user