清羽Gist

Explore

  • 모든 gist
  • Topics
  • Users
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 한국어 Polski Português Русский Türkçe Українська 简体中文 繁體中文

user:thomas 사용자가 만든 gist

title:mygist 주어진 제목의 gist

description:sync 주어진 설명의 gist

filename:myfile.txt 주어진 파일 이름을 가진 gist

extension:yml 주어진 확장자를 가진 gist

language:go 주어진 언어를 가진 gist

topic:homelab 주어진 토픽의 gist

all:systemctl 모든 필드 검색

로그인
e

Topics

edgeone

최신 순 생성일 오래된 순 생성일 최신 순 수정일 오래된 순 수정일
LiuShen

LiuShen / Action实现刷新EO缓存

마지막 활동 6 months ago action auto cache edgeone eo github python tencent

通过Python,在Github Action中实现EO站点缓存刷新

0 0 2
refresh-eo.py 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")
清羽Gist © 2026 QingyuGist
陕ICP备2024028531号-2 陕公网安备61011602000637号