Skip to content

Commit

Permalink
jsDelivr Purge
Browse files Browse the repository at this point in the history
  • Loading branch information
taichunmin committed May 10, 2024
1 parent 9512715 commit 7cfebd2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ jobs:
uses: actions/deploy-pages@v4
- name: 發布至 npm
uses: JS-DevTools/npm-publish@v3
id: npm-publish
with:
access: public
token: ${{ secrets.NPM_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}
- name: jsDelivr Purge
if: ${{ steps.npm-publish.outputs.type }}
uses: egad13/purge-jsdelivr-cache@v1
with:
url: |
https://cdn.jsdelivr.net/npm/@taichunmin/buffer@0/dist/buffer.global.js
https://cdn.jsdelivr.net/npm/@taichunmin/buffer/dist/buffer.global.js
https://cdn.jsdelivr.net/npm/@taichunmin/buffer@0/dist/buffer.mjs/+esm
https://cdn.jsdelivr.net/npm/@taichunmin/buffer/dist/buffer.mjs/+esm

0 comments on commit 7cfebd2

Please sign in to comment.