Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Přihlásit se


Všechno Nové Přihlásit se

All gists matching topic auto

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno
LiuShen's Avatar

LiuShen / Action实现刷新EO缓存

0 Lajky
0 Forky
2 Soubory
Naposledy aktivní 1752049019
通过Python,在Github Action中实现EO站点缓存刷新
action auto cache edgeone eo github python tencent
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")
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 52ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客