This simple action purges the CDN cache of a specific pullzone via API access
See action.yml for more detailed information.
accessKey
- API keyzoneID
- Pull zone ID
uses: eayllon/bunnycdn-purge-cache@main
with:
accessKey: ${{ secrets.BUNNY_API_KEY }}
zoneID: ${{ secrets.BUNNY_ZONE_ID }}
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 .