forked from shimataro/ssh-key-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
31 lines (31 loc) · 724 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: "Install SSH Key"
description: "Install SSH key in ~/.ssh"
author: "shimataro"
branding:
icon: "terminal"
color: "gray-dark"
inputs:
key:
description: "SSH private key"
required: true
name:
description: "SSH key file name (default: id_rsa)"
required: false
default: "id_rsa"
known_hosts:
description: "public keys of SSH servers"
required: true
default: ""
config:
description: "SSH config"
required: false
default: ""
if_key_exists:
description: "replace / ignore / fail"
required: false
default: "fail"
runs:
using: "node16"
main: "lib/index.js"
post: "lib/index.js"