원격 명령어 실행 포트 추가

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-30 20:18:50 +09:00
parent a30a70125a
commit 5043daa2e5

View File

@@ -4,6 +4,9 @@ description: 원격 서버에서 명령어를 실행
inputs:
host:
required: true
port:
required: false
default: "22"
user:
required: true
key-path:
@@ -19,7 +22,7 @@ runs:
run: |
set -eu
ssh -i "${{ inputs.key-path }}" \
ssh -p ${{ inputs.port }} -i "${{ inputs.key-path }}" \
"${{ inputs.user }}@${{ inputs.host }}" \
'bash -se' << 'EOF'
${{ inputs.command }}