Skip to content

Commit

Permalink
💬 Add text to show when SSH connection established
Browse files Browse the repository at this point in the history
  • Loading branch information
kierandrewett committed Apr 27, 2024
1 parent 86563d2 commit 3ab3c53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/run-via-ssh/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ runs:
shell: bash --noprofile --norc -eo pipefail {0}
run: |
SERVER_IP="$(tailscale ip -6 ${{ inputs.ts_hostname }})"
echo "Connecting to server over SSH on ${{ inputs.ssh_username }}@$SERVER_IP..."
ssh -t ${{ inputs.ssh_username }}@$SERVER_IP "${{ inputs.run }}"
- name: Nuke SSH keys
Expand Down

0 comments on commit 3ab3c53

Please sign in to comment.