Skip to content

Commit 2a0d598

Browse files
authored
chore: update CDN cache purge command in production workflow (#660)
- Replaced the old CDN cache purge command with a new command using the CreatePurgeTask method, enhancing the cache management process for production.
1 parent 5e5ddd8 commit 2a0d598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,4 @@ jobs:
208208
209209
- name: Purge production CDN cache
210210
run: |
211-
tccli cdn PurgePathCache --Paths '["https://docs.pingcap.com/"]' --FlushType flush
211+
tccli teo CreatePurgeTask --cli-unfold-argument --ZoneId ${{ secrets.TENCENTCLOUD_EO_DOCS_ZONEID }} --Type purge_prefix --Method invalidate --Targets 'https://docs.pingcap.com'

0 commit comments

Comments
 (0)