xiaohuilam / tencent-cloud-cdn-push-url

Push Urls for Tencent Cloud CDN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tencent Cloud CDN PUSH URLS Cache

This action will help you to push your CDN contents to edge nodes 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
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

Example Usage

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"

About

Push Urls for Tencent Cloud CDN

License:MIT License


Languages

Language:Python 89.3%Language:Dockerfile 10.7%