-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (28 loc) · 927 Bytes
/
action.yml
File metadata and controls
30 lines (28 loc) · 927 Bytes
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
name: 'Alist uploader'
description: 'An action to upload files to Alist.'
author: 'DGP-Automation'
inputs:
file_path:
description: 'The path to the file to upload.'
required: true
default: ''
target_dir:
description: 'The target directory in Alist where the file will be uploaded.'
required: true
default: ''
overwrite:
description: 'Whether to overwrite the file if it already exists. Defaults to true.'
required: false
default: 'true'
host:
description: 'The host of the Alist server. Or use the `ALIST_HOST` environment variable.'
required: false
username:
description: 'The username for Alist authentication. Or use the `ALIST_USERNAME` environment variable.'
required: false
password:
description: 'The password for Alist authentication. Or use the `ALIST_PASSWORD` environment variable.'
required: false
runs:
using: node20
main: dist/index.js