Skip to content

Tencent Cloud CDN Purge Cache

Actions
Purge cache for Tencent Cloud CDN via its Python SDK API
v1.0
Latest
Star (9)

Tencent Cloud CDN Purge Cache

This action purges cache for Tencent Cloud CDN via its Python SDK API.

Environment Variables

To use this Github action, you need to set the following environment variables in your workflow:

Name Description Required
SECRET_ID your Tencent Cloud access token Secret ID Yes
SECRET_KEY your Tencent Cloud access token Secret Key Yes
PATHS paths to purge cache for, separated with comma , Yes
FLUSH_TYPE flush (default) to purge only modified resources or delete to purge all No

Example Usage

uses: keithnull/[email protected]
env:
  SECRET_ID: ${{ secrets.SECRET_ID}}
  SECRET_KEY: ${{ secrets.SECRET_KEY }}
  PATHS: "https://example.com/foo/,https://example.com/bar/"
  FLUSH_TYPE: "flush" # optional

Tencent Cloud CDN Purge Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Purge cache for Tencent Cloud CDN via its Python SDK API
v1.0
Latest

Tencent Cloud CDN Purge Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.