Skip to content

Commit

Permalink
chore: fix typecheck & only purge url
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Nov 9, 2024
1 parent 5d3441d commit d5c38dc
Show file tree
Hide file tree
Showing 2 changed files with 865 additions and 1,422 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/teo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
- name: Wait Cloudflare Pages Deploy
run: echo 'Waiting for Cloudflare Pages Deploy'

# TODO: 先不清除,允许旧流量缓存,缓存时间在 Tencent Cloud EdgeOne 规则中设置
# - name: Purge TEO
# run: tccli teo CreatePurgeTask --ZoneId zone-32usfya3lb5o --Type purge_host --Targets '["www.yunyoujun.cn"]'
# https://console.cloud.tencent.com/edgeone/zones
# DO NOT purge_host 允许旧流量缓存,缓存时间在 Tencent Cloud EdgeOne 规则中设置
# 只清楚入口 URL
# https://cloud.tencent.com/document/product/1552/80703
- name: Purge TEO
run: tccli teo CreatePurgeTask --ZoneId zone-32usfya3lb5o --Type purge_url --Targets '["https://www.yunyoujun.cn"]'
Loading

0 comments on commit d5c38dc

Please sign in to comment.