Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
  • Loading branch information
Dave Grantham committed Apr 28, 2024
1 parent 9bf2781 commit 0e4da28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2933,8 +2933,11 @@ 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.execSync(`${sshCmd} git@github.com`);
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.execSync(`${sshCmd} git@key-${sha256}.github.com`);
console.log(`ssh to git@key-${sha256}.github.com:\n${ssh_github_output_2}`);
});
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@ 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.execSync(`${sshCmd} git@github.com`);
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.execSync(`${sshCmd} git@key-${sha256}.github.com`);
console.log(`ssh to git@key-${sha256}.github.com:\n${ssh_github_output_2}`);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.9",
"version": "0.1.10",
"main": "index.js",
"author": "webfactory GmbH <info@webfactory.de>",
"license": "MIT",
Expand Down

0 comments on commit 0e4da28

Please sign in to comment.