diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..b9577fa Binary files /dev/null and b/.DS_Store differ diff --git a/prepare-ssh/action.yml b/prepare-ssh/action.yml index 9af13dd..8690184 100644 --- a/prepare-ssh/action.yml +++ b/prepare-ssh/action.yml @@ -6,6 +6,9 @@ inputs: required: true host: required: true + port: + required: false + default: "22" key-path: required: false default: ~/.ssh/deploy_key @@ -23,4 +26,4 @@ runs: printf '%s\n' "${{ inputs.ssh-key }}" > ${{ inputs.key-path }} chmod 600 ${{ inputs.key-path }} - ssh-keyscan -H "${{ inputs.host }}" >> ~/.ssh/known_hosts \ No newline at end of file + ssh-keyscan -p ${{ inputs.port }} -H "${{ inputs.host }}" >> ~/.ssh/known_hosts \ No newline at end of file