diff --git a/dist/index.js b/dist/index.js index 1161dc2..c9491da 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2934,12 +2934,12 @@ try { console.log(`Added deploy-key mapping: Use identity '${homeSsh}/key-${sha256}' for GitHub repository ${ownerAndRepo}`); - console.log(`exec: ${sshCmd} git@github.com`); - const ssh_github_output_1 = child_process.execFileSync(sshCmd, [`git@github.com`], { stdio: 'inherit' }).toString(); - console.log(`ssh to git@github.com:\n${ssh_github_output_1}`); + //console.log(`exec: ${sshCmd} git@github.com`); + //const ssh_github_output_1 = child_process.execFileSync(sshCmd, [`git@github.com`], { stdio: 'inherit' }).toString(); + //console.log(`ssh to git@github.com:\n${ssh_github_output_1}`); console.log(`exec: ${sshCmd} git@key-${sha256}.github.com`); - const ssh_github_output_2 = child_process.execFileSync(sshCmd, [`git@key-${sha256}.github.com`], { stdio: 'inherit' }).toString(); + const ssh_github_output_2 = child_process.execFileSync(sshCmd, [`git@key-${sha256}.github.com`]).toString(); console.log(`ssh to git@key-${sha256}.github.com:\n${ssh_github_output_2}`); }); diff --git a/index.js b/index.js index c7f616b..2f6791a 100644 --- a/index.js +++ b/index.js @@ -97,12 +97,12 @@ try { console.log(`Added deploy-key mapping: Use identity '${homeSsh}/key-${sha256}' for GitHub repository ${ownerAndRepo}`); - console.log(`exec: ${sshCmd} git@github.com`); - const ssh_github_output_1 = child_process.execFileSync(sshCmd, [`git@github.com`], { stdio: 'inherit' }).toString(); - console.log(`ssh to git@github.com:\n${ssh_github_output_1}`); + //console.log(`exec: ${sshCmd} git@github.com`); + //const ssh_github_output_1 = child_process.execFileSync(sshCmd, [`git@github.com`], { stdio: 'inherit' }).toString(); + //console.log(`ssh to git@github.com:\n${ssh_github_output_1}`); console.log(`exec: ${sshCmd} git@key-${sha256}.github.com`); - const ssh_github_output_2 = child_process.execFileSync(sshCmd, [`git@key-${sha256}.github.com`], { stdio: 'inherit' }).toString(); + const ssh_github_output_2 = child_process.execFileSync(sshCmd, [`git@key-${sha256}.github.com`]).toString(); console.log(`ssh to git@key-${sha256}.github.com:\n${ssh_github_output_2}`); }); diff --git a/package.json b/package.json index 41bd735..6fd2a58 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cryptid-action-ssh-agent", "repository": "git@github.com:cryptidtech/ssh-agent.git", "description": "GitHub Action to set up ssh-agent with a private SSH key", - "version": "0.1.12", + "version": "0.1.13", "main": "index.js", "author": "webfactory GmbH ", "license": "MIT",