We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b63fba commit 66bd6d8Copy full SHA for 66bd6d8
1 file changed
.github/workflows/media.yml
@@ -1,4 +1,4 @@
1
-name: Upload media files to Qiniu when they change
+name: Upload media files to Tencent Cloud when they change
2
on:
3
push:
4
branches:
@@ -73,4 +73,5 @@ jobs:
73
run: pipx install tccli
74
75
- name: Purge production CDN cache
76
- run: tccli cdn PurgePathCache --Paths '["https://docs-download.pingcap.com/media/images/docs/"]' --FlushType delete
+ run: |
77
+ tccli teo CreatePurgeTask --cli-unfold-argument --ZoneId ${{ secrets.TENCENTCLOUD_EO_DOCS_ZONEID }} --Type purge_prefix --Method invalidate --Targets 'https://docs-download.pingcap.com/media/images/docs/'
0 commit comments