From 1a5de0f4852c5f2f69ebfb91409c544c17ef0112 Mon Sep 17 00:00:00 2001 From: SEBASTIAN JN Date: Sat, 9 Sep 2023 14:07:14 -0300 Subject: [PATCH] update action.yml --- action.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 3f2241f..99b56c7 100644 --- a/action.yml +++ b/action.yml @@ -12,12 +12,12 @@ inputs: USER: description: "An agent, which can be a human or software agent, using a computer or network service." required: true - KEY: - description: "A component of the Secure Shell protocol suite used to establish secure shell sessions between remote computers over insecure networks, using cryptographic techniques." - required: false PASSWORD: description: "Password to use for SSH authentication. If provided, it will be used instead of the key." required: false + KEY: + description: "A component of the Secure Shell protocol suite used to establish secure shell sessions between remote computers over insecure networks, using cryptographic techniques." + required: false REPO: description: "The name of the repository where the action is located (default: the GitHub repository)." default: ${{ github.repository }} @@ -38,7 +38,6 @@ runs: echo "${{ inputs.KEY }}" > ~/.ssh/ssh.key chmod 600 ~/.ssh/ssh.key elif [[ -n "${{ inputs.PASSWORD }}" ]]; then - echo "PasswordAuthentication yes" > ~/.ssh/config echo "${{ inputs.PASSWORD }}" > ~/.ssh/password.txt fi shell: bash