Skip to content

Commit

Permalink
check on the environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kneerunjun committed Jun 22, 2024
1 parent 72e53d0 commit f858cf2
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/wkflw.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
uses: actions/checkout@v2

- name: Set up SSH on actions container
# run: |
# mkdir -p ~/.ssh
# echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
# chmod 600 ~/.ssh/id_rsa
# ssh-keyscan -H $RASPBERRY_PI_IP >> ~/.ssh/known_hosts
# # ssh-keyscan -H ${RASPBERRY_PI_IP}
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
run: |
mkdir -p ~/.ssh
echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa
cat ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H $RASPBERRY_PI_IP >> ~/.ssh/known_hosts
# ssh-keyscan -H ${RASPBERRY_PI_IP}
# uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}


# - name: Get current branch name
Expand Down

0 comments on commit f858cf2

Please sign in to comment.