appleboy-ssh-action/action.yml

77 lines
2.5 KiB
YAML
Raw Normal View History

2019-09-29 10:34:52 +08:00
name: 'SSH Remote Commands'
description: 'Executing remote ssh commands'
author: 'Bo-Yi Wu'
inputs:
host:
description: 'SSH host address.'
2019-09-29 10:34:52 +08:00
port:
description: 'SSH port number.'
default: "22"
passphrase:
description: 'Passphrase for the SSH key.'
2019-09-29 10:34:52 +08:00
username:
description: 'SSH username.'
2019-09-29 10:34:52 +08:00
password:
description: 'SSH password.'
2020-01-30 22:40:33 +08:00
sync:
description: 'Enable synchronous execution if multiple hosts are involved.'
use_insecure_cipher:
description: 'Include more ciphers by using insecure ciphers.'
2020-05-24 13:13:09 +08:00
cipher:
description: 'Allowed cipher algorithms. If unspecified, a sensible default is used.'
2019-09-29 10:34:52 +08:00
timeout:
description: 'Timeout duration for establishing SSH connection to the host.'
2019-09-29 10:34:52 +08:00
default: "30s"
command_timeout:
description: 'Timeout duration for SSH commands execution.'
default: "10m"
2019-09-29 10:34:52 +08:00
key:
description: 'Content of the SSH private key. For example, the raw content of ~/.ssh/id_rsa.'
2019-09-29 10:34:52 +08:00
key_path:
description: 'Path to the SSH private key file.'
2020-05-19 14:21:26 +08:00
fingerprint:
description: 'SHA256 fingerprint of the host public key.'
2019-12-07 20:05:02 +08:00
proxy_host:
description: 'SSH proxy host address.'
2019-12-07 20:05:02 +08:00
proxy_port:
description: 'SSH proxy port number.'
default: "22"
2019-12-07 20:05:02 +08:00
proxy_username:
description: 'SSH proxy username.'
2019-12-07 20:05:02 +08:00
proxy_password:
description: 'SSH proxy password.'
proxy_passphrase:
description: 'SSH proxy key passphrase.'
2019-12-07 20:05:02 +08:00
proxy_timeout:
description: 'Timeout duration for establishing SSH connection to the proxy host.'
2019-12-07 20:05:02 +08:00
default: "30s"
proxy_key:
description: 'Content of the SSH proxy private key. For example, the raw content of ~/.ssh/id_rsa.'
2019-12-07 20:05:02 +08:00
proxy_key_path:
description: 'Path to the SSH proxy private key file.'
2020-05-19 14:21:26 +08:00
proxy_fingerprint:
description: 'SHA256 fingerprint of the proxy host public key.'
2020-05-24 13:13:09 +08:00
proxy_cipher:
description: 'Allowed cipher algorithms for the proxy. If unspecified, a sensible default is used.'
proxy_use_insecure_cipher:
description: 'Include more ciphers for the proxy by using insecure ciphers.'
2019-09-29 10:34:52 +08:00
script:
description: 'Commands to be executed.'
2019-09-29 10:34:52 +08:00
script_stop:
description: 'Stop the script after the first failure.'
2019-09-29 10:34:52 +08:00
envs:
description: 'Environment variables to be passed to the shell script.'
envs_format:
description: 'Flexible configuration for environment value transfer.'
2019-09-29 10:34:52 +08:00
debug:
description: 'Enable debug mode.'
allenvs:
description: 'pass all environment variable to shell script.'
2019-09-29 10:34:52 +08:00
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'terminal'
color: 'gray-dark'