actions-marketplace-validations/Tencent COS and CDN

Deploy files to tencent cloud COS and flush CDN cache

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
secret_idTencent cloud secret id. Should be referred to a encrypted environment variableno
secret_keyTencent cloud secret key. Should be referred to a encrypted environment variableno
session_tokenTencent cloud sessionToken for temporary secret, may get from other actionsno
cos_bucketCOS bucket nameno
cos_regionCOS bucket regionno
cos_accelerateSet to true for using accelerate domain to upload files. Default is falseno
cos_init_optionsOther options for init COS SDK instance operatorno
cos_put_optionsOther options for putObject operatorno
cos_replace_fileWhether to replace the existing file. Default is trueno
cos_replace_rulesSet different replacement rules for different filesno
cos_file_check_concurrentCheck whether the file needs to be uploaded concurrentlyno
cdn_typeCDN type, cdn or eo. Default is cdnno
cdn_prefixCDN url prefix if you are using Tencent Cloud CDN. Default is emptyno
cdn_wait_flushWhether to wait for CDN refresh to complete. Defaults is falseno
eo_zoneEO zone ID if you are using Tencent Cloud EdgeOne CDN. Default is emptyno
local_pathLocal path to be uploaded to COS. Directory or file is allowedno
remote_pathCOS path to put the local files in on COSno
cleanSet to true for cleaning files on COS path which are not existed in local path. Default is falseno
config_fileCOS config file path. Default is emptyno

no outputs