https://github.com/list-kr/jsdelivr-purge
Clone your GitHub repo into jsDelivr Network to enhance transmission speed
https://github.com/list-kr/jsdelivr-purge
ci github-ci jsdelivr jsdelivr-cdn
Last synced: over 1 year ago
JSON representation
Clone your GitHub repo into jsDelivr Network to enhance transmission speed
- Host: GitHub
- URL: https://github.com/list-kr/jsdelivr-purge
- Owner: List-KR
- License: mit
- Created: 2023-02-01T17:57:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-01T03:36:33.000Z (almost 2 years ago)
- Last Synced: 2025-04-19T12:27:13.334Z (over 1 year ago)
- Topics: ci, github-ci, jsdelivr, jsdelivr-cdn
- Language: TypeScript
- Homepage:
- Size: 197 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## jsDelivr-Purge
This GitHub actions is automatic jsDelivr purging process for GitHub public repositories.
If you want to purge jsDelivr cache automatically, please customize the following GitHub workflow file and add it:
```yaml
name: 'Run jsDelivr-Purge'
jobs:
jsdelivrpurge:
permissions:
actions: read
contents: read
runs-on: ubuntu-latest
steps:
- name: Set up NodeJS LTS
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run jsDelivr-Purge
uses: List-KR/jsdelivr-purge@5.6.0
```
The jsDelivr-Purge supports `workflow_dispatch`, `schedule` and `push` event.
It always purges `latest` and the default branch of your repo.
> [!WARNING]
> jsDelivr will add authentication data into a request header.
> You need to pay attention to this change!