From e4fc17a7754249bf656618522c8d7aa949370cba Mon Sep 17 00:00:00 2001 From: Niranjan Awati Date: Sat, 22 Jun 2024 18:56:46 +0530 Subject: [PATCH] getting only the keyscan from the rpi device --- .github/workflows/wkflw.dev.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wkflw.dev.yaml b/.github/workflows/wkflw.dev.yaml index ae336b5..b9b357e 100644 --- a/.github/workflows/wkflw.dev.yaml +++ b/.github/workflows/wkflw.dev.yaml @@ -23,11 +23,10 @@ jobs: - name: Set up SSH on actions container run: | mkdir -p ~/.ssh - echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa + echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - echo $RASPBERRY_PI_IP # ssh-keyscan -H $RASPBERRY_PI_IP >> ~/.ssh/known_hosts - ssh-keyscan -H $RASPBERRY_PI_IP + ssh-keyscan -H ${RASPBERRY_PI_IP} # - name: Get current branch name # id: get_branch # run: |