This commit is contained in:
Fiky B 2024-01-25 08:51:13 +07:00
parent c04e0ac7d0
commit 5f5c22172a

View File

@ -14,10 +14,9 @@ jobs:
# check this thread to understand why its needed: # check this thread to understand why its needed:
# https://stackoverflow.com/a/70447517 # https://stackoverflow.com/a/70447517
run: | run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa echo "${{ env.SSH_HOST }}"
echo "${{ secrets.SSH_PRIVATE_KEY }}" echo ${{ env.SSH_USER }}
echo ${{ env.SSH_HOST }} echo ${{ vars.WORK_DIR }}
echo $SSH_HOST
# ssh-keyscan -H ${{ env.SSH_HOST }} > ~/.ssh/known_hosts # ssh-keyscan -H ${{ env.SSH_HOST }} > ~/.ssh/known_hosts
# - name: connect and pull # - name: connect and pull