1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00
ssh-key-action/action.yml
Po Chen 2c09c176d4
Update to Node 20 (#267)
* Update action.yml

* Update build.yml
2024-02-11 10:34:39 +09:00

31 lines
728 B
YAML

# 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: "node20"
main: "./dist/main.js"
post: "./dist/post.js"