sylingd/Tencent COS and CDN
Deploy files to tencent cloud COS and flush CDN cache
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| secret_id | Tencent cloud secret id. Should be referred to a encrypted environment variable | no | — |
| secret_key | Tencent cloud secret key. Should be referred to a encrypted environment variable | no | — |
| session_token | Tencent cloud sessionToken for temporary secret, may get from other actions | no | — |
| cos_bucket | COS bucket name | no | — |
| cos_region | COS bucket region | no | — |
| cos_accelerate | Set to true for using accelerate domain to upload files. Default is false | no | — |
| cos_init_options | Other options for init COS SDK instance operator | no | — |
| cos_put_options | Other options for putObject operator | no | — |
| cos_replace_file | Whether to replace the existing file. Default is true | no | — |
| cos_replace_rules | Set different replacement rules for different files | no | — |
| cos_file_check_concurrent | Check whether the file needs to be uploaded concurrently | no | — |
| cdn_type | CDN type, cdn or eo. Default is cdn | no | — |
| cdn_prefix | CDN url prefix if you are using Tencent Cloud CDN. Default is empty | no | — |
| cdn_wait_flush | Whether to wait for CDN refresh to complete. Defaults is false | no | — |
| eo_zone | EO zone ID if you are using Tencent Cloud EdgeOne CDN. Default is empty | no | — |
| local_path | Local path to be uploaded to COS. Directory or file is allowed | no | — |
| remote_path | COS path to put the local files in on COS | no | — |
| clean | Set to true for cleaning files on COS path which are not existed in local path. Default is false | no | — |
| config_file | COS config file path. Default is empty | no | — |
Outputs
no outputs