Skip to content

Commit

Permalink
add purge
Browse files Browse the repository at this point in the history
  • Loading branch information
malikshi authored Dec 2, 2023
1 parent 2a92aa8 commit 6914fb5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,17 @@ jobs:
keep_latest: 1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Purge rule-set-geosite jsdelivr CDN
run: |
cd publish || exit 1
for file in $(ls); do
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@rule-set-geosite/${file}"
done
- name: Purge rule-set-geoip jsdelivr CDN
run: |
cd publish || exit 1
for file in $(ls); do
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@rule-set-geoip/${file}"
done

0 comments on commit 6914fb5

Please sign in to comment.