Skip to content

Commit

Permalink
chore: support ipv6
Browse files Browse the repository at this point in the history
Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Mar 16, 2024
1 parent 436ad04 commit 046206b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ runs:
run: entrypoint.sh
shell: bash
env:
GITHUB_ACTION_PATH: ${{ github.action_path }}
INPUT_HOST: ${{ inputs.host }}
INPUT_PORT: ${{ inputs.port }}
INPUT_PROTOCOL: ${{ inputs.protocol }}
Expand Down
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu

export GITHUB="true"

curl https://github.com/appleboy/drone-ssh/releases/download/v1.7.4/drone-ssh-1.7.4-linux-amd64 -o ./drone-ssh
chmod +x ./drone-ssh
curl https://github.com/appleboy/drone-ssh/releases/download/v1.7.4/drone-ssh-1.7.4-linux-amd64 -o ${GITHUB_ACTION_PATH}/drone-ssh
chmod +x ${GITHUB_ACTION_PATH}/drone-ssh

./drone-ssh $*
${GITHUB_ACTION_PATH}/drone-ssh $*

0 comments on commit 046206b

Please sign in to comment.