更新后自动刷新CDN

pull/45/head
pzcn 4 years ago committed by GitHub
parent 3231f9422a
commit a12976f7f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -125,3 +125,19 @@ jobs:
git commit -m "${{ env.RELEASE_NAME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f origin release
- name: Purge jsdelivr CDN
run: |
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/greatfire.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt
curl https://purge.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt

Loading…
Cancel
Save