{"repo":"NathanVaughn/actions-cloudflare-purge","free":true,"listed":false,"github":"https://github.com/NathanVaughn/actions-cloudflare-purge","clone":"git clone https://github.com/NathanVaughn/actions-cloudflare-purge.git","description":"A GitHub Action to purge Cloudflare's cache of your site","language":"Python","stars":49,"topics":["cloudflare-api","github-actions","cloudflare","cache-control"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Cloudflare Cache Purge Action This unofficial Action uses Cloudflare's API to purge their cache of your site. A Python 3.10+ interpreter is required (installed by default on GitHub-hosted runners). As of April 1st, 2025, all purge methods are now available for all customers. Inputs You can mix and match the various inputs however you want (other than the zone and auth key). If you don't provide files or tags or hosts or prefixes , then all files will be purged. cf zone or CLOUDFLARE ZONE environment variable The zone ID of your Cloudflare site. Example: cf auth or CLOUDFLARE AUTH KEY environment variable The Cloudflare API key you've generated for your zone. Example: files (optional) A space separated list of URLs to purge. Example: URL and header pairs are not supported in this Action. The key urls is also accepted for backwards compatibility. tags (optional) A space separated list of tags to purge. Example: hosts (optional) A space separated list of hosts to purge. Example: prefixes (optional) A space separated list of prefixes to purge. Example: python (optional) The path to the Python interpreter to use, in case you are using a self-hosted runner. Defaults to python . Must be Python 3.10 or higher. Example: Outputs None Example Usages Getting Cloudflare Info 1. First, go to your user or account API tokens page in your Cloudflare dashboard. 2. Click \"Create Token\", and scroll down to the bottom for \"Create Custom Token\". Click \"Get started\". 3. Fill out the form. Make sure","default_branch":null,"files":null,"tree":[],"storefront":"/r/NathanVaughn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NathanVaughn/actions-cloudflare-purge/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}