generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathaction.yml
22 lines (22 loc) · 885 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
name: "SSH Execute Commands"
description: "Run commands via SSH on remote servers. Multiple hosts, Env vars, private key auth, multiple commands."
author: "JimCronqvist"
inputs:
command:
description: "Command(s) to execute on the remote server."
required: true
hosts:
description: "Hostname or IP address of the remote server(s). Separate multiple servers with a blank space. Example: 'user@mydomain.com:22 user@otherdomain.com:2222'"
required: true
privateKey:
description: "The private key (id_rsa) content for authenticating to the SSH server(s). Recommended to store it as a GitHub Secret."
required: true
debug:
description: "Used to view all environment variables in the logs, please note that this could expose sensitive data."
default: false
runs:
using: "docker"
image: "Dockerfile"
branding:
color: "gray-dark"
icon: "terminal"