Feat: deprecate jsDelivr links

This commit is contained in:
Loyalsoldier
2022-05-21 10:24:32 +08:00
parent 9cf6161dbf
commit fa12eabc89
2 changed files with 29 additions and 67 deletions

View File

@@ -132,10 +132,3 @@ 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: |
cd publish || exit 1
for file in $(ls); do
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@release/${file}"
done