Skip to content

Commit

Permalink
feat: automagically cleanes the CDN cache (#31)
Browse files Browse the repository at this point in the history
fixes #30
  • Loading branch information
puria authored Dec 2, 2024
1 parent 4d51290 commit b6de448
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}


cdn:
runs-on: ubuntu-latest
steps:
- uses: gacts/purge-jsdelivr-cache@v1
with:
url: |
https://cdn.jsdelivr.net/npm/@dyne/components@latest/dist/dyne-components/dyne-components.esm.js
https://cdn.jsdelivr.net/npm/@dyne/components@latest/dist/dyne-components/dyne-components.css

0 comments on commit b6de448

Please sign in to comment.