diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index b0cd07d86c..34c52cb33e 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -210,3 +210,10 @@ jobs: git commit -m "${{ env.RELEASE_NAME }}" git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" git push -f -u 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