Skip to content

Commit 82d93e8

Browse files
committed
feat(cdn): add dogecloud cdn cache refresh step
* integrate dogecloud cdn action for cache purging * use secrets for access and secret keys * specify target urls for cache refresh Signed-off-by: Charles Chin <eallion.s+github@gmail.com>
1 parent 6bfdcb2 commit 82d93e8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,15 @@ jobs:
134134
SKIP_SETTING: true
135135
INCREMENTAL: true
136136

137+
- name: "刷新多吉云 CDN 缓存"
138+
uses: seatonjiang/dogecloud-cdn-action@main
139+
with:
140+
access_key: ${{ secrets.DOGECLOUD_ACCESS_KEY }}
141+
secret_key: ${{ secrets.DOGECLOUD_SECRET_KEY }}
142+
type: "path"
143+
urls:
144+
- "https://www.eallion.com/"
145+
137146
# - name: Deploy to Tencent COS
138147
# if: steps.build.outputs.should_deploy == 'true'
139148
# uses: eallion/s3-deploy-action@dev

0 commit comments

Comments
 (0)