Feat: deprecate jsDelivr links
This commit is contained in:
7
.github/workflows/run.yml
vendored
7
.github/workflows/run.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user