mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* add config
option
This commit is contained in:
parent
3c687c2156
commit
1238d84db2
2 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,10 @@ inputs:
|
||||||
description: "public keys of SSH servers"
|
description: "public keys of SSH servers"
|
||||||
required: false
|
required: false
|
||||||
default: ""
|
default: ""
|
||||||
|
config:
|
||||||
|
description: "SSH config"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
runs:
|
runs:
|
||||||
using: "node12"
|
using: "node12"
|
||||||
main: "lib/main.js"
|
main: "lib/main.js"
|
||||||
|
|
|
@ -34,6 +34,11 @@ function main(): void
|
||||||
mode: 0o644,
|
mode: 0o644,
|
||||||
contents: core.getInput("known-hosts"),
|
contents: core.getInput("known-hosts"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "config",
|
||||||
|
mode: 0o644,
|
||||||
|
contents: core.getInput("config"),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// create ".ssh" directory
|
// create ".ssh" directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue