ssh 키 경로 틸드 확장 수정

This commit is contained in:
2026-07-13 17:45:22 +09:00
parent 71f298962b
commit 643f1136a2
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -39,6 +39,9 @@ runs:
if [ -z "$KEY_PATH" ]; then
KEY_PATH="$HOME/.ssh/deploy_key"
fi
case "$KEY_PATH" in
"~/"*) KEY_PATH="$HOME/${KEY_PATH#\~/}" ;;
esac
ssh -p "${{ inputs.port }}" -i "$KEY_PATH" \
-o IdentitiesOnly=yes \