-
Notifications
You must be signed in to change notification settings - Fork 53
/
action.yml
62 lines (62 loc) · 1.91 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
54
55
56
57
58
59
60
61
62
name: Copy via ssh
author: garygrossgarten
description: Github Action to copy a folder to a remote server using SSH
inputs:
local:
description: "Path to the local folder you want to copy."
required: true
remote:
description: "Path on the remote server to copy to."
required: true
dotfiles:
description: "Determines if files with leading dot (.) on folder copy is included"
required: false
default: false
rmRemote:
description: "If it is a directory, remote files in it will be deleted before the copy is started."
required: false
concurrency:
description: "Number of concurrent file transfers."
required: false
default: 1
recursive:
description: "Wether copy of directory should be recursive"
required: false
default: true
verbose:
description: "Log status of every file copy"
required: false
default: true
host:
description: "Hostname or IP address of the server."
required: false
default: "localhost"
username:
description: "Username for authentication."
required: false
port:
description: "Port number of the server."
required: false
default: "22"
privateKey:
description: "File Location or string that contains a private key for either key-based or hostbased user authentication (OpenSSH format)"
required: false
password:
description: "Password for password-based user authentication."
required: false
passphrase:
description: "For an encrypted private key, this is the passphrase used to decrypt it."
required: false
tryKeyboard:
description: "Try keyboard-interactive user authentication if primary user authentication method fails."
required: false
atomicPut:
description: "Upload files to temporary file first, then rename once upload completed"
required: false
default: false
runs:
using: "node20"
main: "dist/index.js"
branding:
color: "purple"
icon: "copy"