Skip to content

Simple GitHub action that purges the CDN cache of a specific pullzone via API access

Notifications You must be signed in to change notification settings

eayllon/bunnycdn-purge-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Bunny CDN Purge Cache

This simple action purges the CDN cache of a specific pullzone via API access

Input variables

See action.yml for more detailed information.

  • accessKey - API key
  • zoneID - Pull zone ID

Example usage

uses: eayllon/bunnycdn-purge-cache@main
with:
  accessKey: ${{ secrets.BUNNY_API_KEY }}
  zoneID: ${{ secrets.BUNNY_ZONE_ID }}

Dev notes

Checking in node_modules directory can cause problems, use vercel/ncc to compile this action code and modules into one file used for distribution ncc build src/app.js -o .

About

Simple GitHub action that purges the CDN cache of a specific pullzone via API access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published