Compare commits

..

2 Commits

Author SHA1 Message Date
d0f9fb1d7d fix CI config 2023-02-20 12:29:01 -06:00
43a66c996f fix CI config 2023-02-20 12:26:38 -06:00

View File

@ -13,9 +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 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password - echo 'echo "$SSH_PASSPHRASE"\n' | tr -d '\r' > ~/.ssh/.print_ssh_password
- tr -d '\r' < ~/.ssh/.print_ssh_password > out.sh - cat ~/.ssh/.print_ssh_password
- mv out.sh ~/.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 -