This action will help you to push your CDN contents to edge nodes for Tencent Cloud CDN via its Python SDK API.
To use this Github action, you need to set the following environment variables in your workflow:
Name | Description | Required |
---|---|---|
TENCENTCLOUD_CDN_SECRET_ID | your Tencent Cloud access token Secret ID | Yes |
TENCENTCLOUD_CDN_SECRET_KEY | your Tencent Cloud access token Secret Key | Yes |
URLS | urls to push, separated with comma , |
Yes |
uses: xiaohuilam/tencent-cloud-cdn-push-url@v1.5
env:
TENCENTCLOUD_CDN_SECRET_ID: ${{ secrets.TENCENTCLOUD_CDN_SECRET_ID }}
TENCENTCLOUD_CDN_SECRET_KEY: ${{ secrets.TENCENTCLOUD_CDN_SECRET_KEY }}
URLS: "https://example.com/foo.html,https://example.com/bar.html"