forked from shimataro/ssh-key-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
39 lines (39 loc) · 862 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
32
33
34
35
36
37
38
39
# 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: ""
host:
description: ""
required: true
hostName:
description: ""
required: true
identityFile:
description: ""
required: true
identitiesOnly:
description: ""
required: true
if_key_exists:
description: "replace / ignore / fail"
required: false
default: "fail"
runs:
using: "node20"
main: "./dist/main.js"
post: "./dist/post.js"