forked from and-fm/cloudflared-ssh-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
36 lines (36 loc) · 1.01 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
name: 'Cloudflared Remote Server SSH Commands'
branding:
icon: 'terminal'
color: 'orange'
description: 'Lets you SSH into a server behind a Cloudflare tunnel'
inputs:
host:
description: 'SSH host address'
required: true
port:
description: 'SSH port number'
default: "22"
username:
description: 'SSH username'
private_key_filename:
description: 'SSH private key filename'
private_key_value:
description: 'SSH private key value'
commands:
description: 'The commands to run on the remote server'
service_token_id:
description: 'The Client ID of the Cloudflare service token'
service_token_secret:
description: 'The Client Secret of the Cloudflare service token'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.host }}
- ${{ inputs.port }}
- ${{ inputs.username }}
- ${{ inputs.private_key_filename }}
- ${{ inputs.private_key_value }}
- ${{ inputs.commands }}
- ${{ inputs.service_token_id }}
- ${{ inputs.service_token_secret }}