-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
53 lines (51 loc) · 1.8 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: ngrok-ssh
description: SSH into your GitHub Actions runner with ngrok.
inputs:
BASH_PROFILE:
description: "Path to a text file to append to the host's .bash_profile."
required: false
NGROK_AUTHTOKEN:
description: "Your ngrok auth token, required for TCP tunnels."
required: true
NGROK_CONFIG_FILE:
description: "Path to your custom ngrok config file, which will be merged with the default ngrok-ssh config file. See https://ngrok.com/docs/agent/config/#config-file-merging for more information."
required: false
SSH_PORT:
description: "SSH port to use with ngrok."
required: false
default: 2222
SSH_CLIENT_PUBLIC_KEY:
description: "Public key of an SSH client to add to the authorized_keys file."
required: false
SSH_HOST_PRIVATE_KEY:
description: "Private key to use for the SSH host."
required: false
SSH_HOST_PUBLIC_KEY:
description: "Public key to use for the SSH host."
required: false
USE_GITHUB_ACTOR_KEY:
description: "Whether to add the GITHUB_ACTOR's public keys to the authorized_keys file."
required: false
default: true
WAIT_FOR_CONNECTION:
description: "Whether to wait for an SSH connection before allowing the workflow run to proceed."
required: false
default: false
outputs:
NGROK_TUNNELS:
description: "JSON representation of provisioned ngrok tunnels from the /api/tunnels endpoint, including any additional configured tunnels."
SSH_HOSTNAME:
description: "The hostname of the SSH server."
SSH_HOST_PUBLIC_KEY:
description: "The public key of the SSH host."
SSH_PORT:
description: "The public port of the SSH server."
SSH_USER:
description: "The username of the SSH user."
runs:
using: "node20"
main: "src/main.js"
post: "src/post.js"
branding:
icon: "terminal"
color: "green"