alesharik/CDNetworks Purge
Purge CDN cache using CDNetworks API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 5, 2025
- License
- MIT
Pinned Snippet
uses: alesharik/cdnetworks-purge@5283cffc70f2d40ce9b519e1e33116e7ea5dd6d9 # v0.0.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| api-url | CDNetworks API base URL (e.g., https://ngapi.cdnetworks.com) | no | https://ngapi.cdnetworks.com |
| api-user | CDNetworks API user name | yes | — |
| api-key | CDNetworks API key | yes | — |
| domain-id | Domain ID to purge | yes | — |
| file-urls | File URLs to purge (one per line) | no | — |
| dir-urls | Directory URLs to purge (one per line) | no | — |
| regex-patterns | Regex patterns for purging (one per line) | no | — |
| on-behalf-of | Child customer ID for reseller accounts | no | — |
| name | A description of the purge request | no | — |
| file-headers | JSON object of HTTP headers for cache key dependencies (e.g., {"User-Agent":"mobile","Accept-Language":"en-US"}) | no | — |
| action | Controls whether cached files should be removed (delete) or flagged as invalid (invalidate) | no | invalidate |
| target | Target environment for the purge request (production or staging) | yes | — |
Outputs
| name | description |
|---|---|
| purge-id | Unique identifier for the purge request |
| status | Status of the purge request |
| message | Additional message from the API response |