Skip to content

Commit

Permalink
Debug ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
bixel committed Jun 16, 2024
1 parent b752821 commit c9148c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
run: |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
ssh-add -l
mkdir -p ~/.ssh && touch ~/.ssh/known_hosts
ssh-keyscan ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
ssh "${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}" -- ls "${{ secrets.DEPLOY_PATH }}"
- name: test ssh
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
Expand Down

0 comments on commit c9148c8

Please sign in to comment.