forked from Creepios/sftp-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
50 lines (50 loc) · 1.29 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
name: 'SFTP SSH Action'
description: 'Upload files or directories via sftp and ssh'
author: 'Creepios (Niklas R.)'
branding:
icon: 'upload'
color: 'green'
inputs:
host:
description: 'Host to login'
required: true
default: 'localhost'
port:
description: 'Port to login'
required: false
default: '22'
username:
description: 'Username to login'
required: true
default: 'root'
password:
description: 'Passwort to login'
required: true
default: 'password'
additionalPaths:
description: "Map of the path to upload multiple files."
required: false
default: '{}'
localPath:
description: 'Local file or directory'
required: true
remotePath:
description: 'Remote file or directory path (file or directories will be created)'
required: true
agent:
description: 'Path to ssh-agent'
required: false
default: 'process.env.SSH_AGENT'
privateKey:
description: 'Path to key file or directly the key (via secret or paste)'
required: false
privateKeyIsFile:
description: 'Define if private key is a local file or string'
required: false
default: 'false'
passphrase:
description: 'Define a passphrase for encrypted private keys'
required: false
runs:
using: 'node12'
main: 'dist/index.js'