From ece73cafe09e1c75aa3cad58eb61a2d047d71bd8 Mon Sep 17 00:00:00 2001 From: apoloz Date: Wed, 22 May 2024 20:17:25 +0000 Subject: [PATCH] Update .gitea/workflows/test_infra.yaml --- .gitea/workflows/test_infra.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test_infra.yaml b/.gitea/workflows/test_infra.yaml index 1c4ed49..70b4ae2 100644 --- a/.gitea/workflows/test_infra.yaml +++ b/.gitea/workflows/test_infra.yaml @@ -17,7 +17,7 @@ jobs: run: | # mkdir -p ~/.ssh ssh-agent -a $SSH_AUTH_SOCK > /dev/null - ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}" + ssh-add <(echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 -d) ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts # echo ${{ vars.MY_SSH_PRIV_KEY }} > ~/.ssh/id_rsa # chmod 0600 ~/.ssh/id_rsa