From 6b7fdc244581d64e2d5549110d3486282832bb3c Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 20 Feb 2023 12:33:06 -0600 Subject: [PATCH] fix CI config --- .woodpecker/publish-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/publish-docs.yml b/.woodpecker/publish-docs.yml index 7a07f58..9a34ba0 100644 --- a/.woodpecker/publish-docs.yml +++ b/.woodpecker/publish-docs.yml @@ -13,7 +13,7 @@ pipeline: - mkdir ~/.ssh && chmod -R 700 ~/.ssh # - apt update -y && apt install openssh-client rsync -y - echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts - - echo 'echo "$SSH_PASSPHRASE"\n' | tr -d '\r' > ~/.ssh/.print_ssh_password + - echo -e '#!/bin/bash\necho "$SSH_PASSPHRASE"' | tr -d '\r' > ~/.ssh/.print_ssh_password - cat ~/.ssh/.print_ssh_password - chmod 700 ~/.ssh/.print_ssh_password - eval $(ssh-agent -s)