From 6d54573bccab9bf990da7f929eae1af005a90aef Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 16 Mar 2024 12:45:28 +0800 Subject: [PATCH] chore: support ipv6 Signed-off-by: appleboy --- entrypoint.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index f80cfb8..24e847e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,10 +3,6 @@ set -eu export GITHUB="true" -echo "appleboy" -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 +curl -fLJ 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 -${GITHUB_ACTION_PATH}drone-ssh -h -${GITHUB_ACTION_PATH}drone-ssh -sh -c "${GITHUB_ACTION_PATH}/drone-ssh -h" -sh -c "${GITHUB_ACTION_PATH}/drone-ssh" +sh -c "${GITHUB_ACTION_PATH}/drone-ssh $*"