Skip to content

Commit

Permalink
debug: flows
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Jan 5, 2025
1 parent 10f8a62 commit 21cd949
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ jobs:
ssh-keyscan -t ed25519 ${{ env.SERVER_IP }} >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
- name: Enable Debug Logging
run: echo "DEBUG=true" >> $GITHUB_ENV

- name: Print Known Hosts
run: cat ~/.ssh/known_hosts || echo "No known hosts file found"

- name: List SSH Keys
run: ssh-add -l || echo "No keys loaded into ssh-agent"

- name: Debug SSH Connection
run: ssh -vvv ${{ env.SERVER_USER }}@${{ env.SERVER_IP }} || echo "SSH failed"

- name: Deploy to server
run: |
ssh ${{ env.SERVER_USER }}@${{ env.SERVER_IP }} << EOF
Expand Down

0 comments on commit 21cd949

Please sign in to comment.