通过Python,在Github Action中实现EO站点缓存刷新
0
0
2
| 1 | import os |
| 2 | import json |
| 3 | from tencentcloud.common import credential |
| 4 | from tencentcloud.teo.v20220901 import teo_client, models |
| 5 | from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException |
| 6 | |
| 7 | try: |
| 8 | cred = credential.Credential( |
| 9 | os.getenv("TENCENTCLOUD_SECRET_ID"), |
| 10 | os.getenv("TENCENTCLOUD_SECRET_KEY") |