menci/Upload files to Aliyun OSS (incremental)
Upload local files in a directory to Aliyun OSS with a prefix incrementally, with filename filter.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| access-key-id | The accessKeyId used to authenticate with Aliyun. Please specify `access-key-id` and `access-key-secret` or specify `security-token`. | — | "" |
| access-key-secret | The accessKeySecret used to authenticate with Aliyun. Please specify `access-key-id` and `access-key-secret` or specify `security-token`. | — | "" |
| security-token | The securityToken (STS) used to authenticate with Aliyun. Please specify `access-key-id` and `access-key-secret` or specify `security-token`. | — | "" |
| bucket | The Aliyun OSS bucket name to upload to. | yes | — |
| endpoint | The Aliyun OSS endpoint used to upload. | yes | — |
| local-path | The local path of directory to upload. Must point to a directory. | yes | — |
| remote-path | The remote path (prefix) to upload to. | yes | — |
| include-regex | The regex of filenames included. All files by default. | — | "" |
| exclude-regex | The regex of filenames excluded. A file is ignored when matching it even if it matches `include-regex`. | — | ^$ |
| headers | A JSON or JS function `(filename: string) => Record<string, string>` for HTTP response headers of uploaded file. | — | {} |
| delay-html-file-upload | Whether or not to delay upload of HTML file after other files. | — | false |
| no-delete-remote-files | Whether or not to keep missing remote files compared to local. | no | false |
| retry | Retry times for each OSS operation. Default is 5. | no | 5 |
| incremental | Upload files whose content changed only. Custom headers are not checked. | no | true |
Outputs
no outputs