-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
52 lines (49 loc) · 1.41 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
name: 'SSH-SCP Server Deploy'
author: 'Collez'
description: 'Deploys files and executes commands to a remote host'
inputs:
host:
description: 'Remote host'
required: true
port:
description: 'Remote port'
default: 22
username:
description: 'SSH remote user'
required: true
password:
description: 'SSH remote password'
key:
description: 'SSH private key'
key-path:
description: 'Path to the SSH private key'
passphrase:
description: 'SSH key passphrase'
silent:
description: 'Whether to log the script''s output to stdout'
default: false
files:
description: 'Files and folders to upload. You can use glob patterns'
remote-path:
description: 'Remote destination path'
default: '/'
local-path:
description: 'Local base path'
clean:
description: 'Whether to clean the remote path before uploading'
default: false
clean-exclude:
description: 'List of files to exclude when cleaning the remote path'
before-upload:
description: 'Commands to execute before the SCP file transfer, on the host machine'
after-upload:
description: 'Commands to execute after the SCP file transfer, on the host machine'
check-update:
description: 'Whether to check or not for updates at startup'
default: true
branding:
icon: 'server'
color: 'blue'
runs:
using: 'node16'
main: 'index.js'