-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathaction.yml
46 lines (46 loc) · 1.25 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
name: 'SFTP Upload'
author: 'Dylan700'
description: 'A GitHub Action for uploading files via SFTP.'
branding:
icon: "upload"
color: "white"
inputs:
server:
description: The SFTP server (e.g. sftp.server.com).
required: true
username:
description: The SFTP username.
required: true
password:
description: The SFTP password.
required: false
key:
description: The private key.
required: false
passphrase:
description: The passphrase for your private key.
required: false
port:
description: The SFTP port.
required: false
default: '22'
dry-run:
description: If true, outputs the results of the upload, without actually uploading.
required: false
default: 'false'
uploads:
description: A list of folders to upload in the format of `folder/ => upload_folder/`
required: true
ignore:
description: a list of files to ignore using glob patterns
required: false
ignore-from:
description: the path to a file containing a list of files to ignore using glob patterns
required: false
delete:
description: If true, any existing files in the remote upload directories are deleted.
required: false
default: 'false'
runs:
using: 'node20'
main: 'dist/index.js'