From 7a0aea66c192eceb395e925405df29cf583a81d6 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 20 Feb 2023 12:35:27 -0600 Subject: [PATCH] fix CI config --- .woodpecker/publish-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/publish-docs.yml b/.woodpecker/publish-docs.yml index 9a34ba0..18239e8 100644 --- a/.woodpecker/publish-docs.yml +++ b/.woodpecker/publish-docs.yml @@ -13,8 +13,8 @@ pipeline: - mkdir ~/.ssh && chmod -R 700 ~/.ssh # - apt update -y && apt install openssh-client rsync -y - echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts - - echo -e '#!/bin/bash\necho "$SSH_PASSPHRASE"' | tr -d '\r' > ~/.ssh/.print_ssh_password - - cat ~/.ssh/.print_ssh_password + - echo -e '#!/bin/sh\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) - echo "$SSH_DEPLOY_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add -