feat: cloudflare purge command

This commit is contained in:
Rico van Zelst
2023-11-09 16:22:14 +01:00
parent 7c7db0844b
commit 36009e116e
4 changed files with 67 additions and 1 deletions

17
config/cloudflare.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Cloudflare Information
|--------------------------------------------------------------------------
|
| These values are used to purge the Cloudflare cache when the application
| is updated. The zone ID can be found in the Cloudflare dashboard under
| the "Overview" tab. The bearer token can be generated in the "API" tab.
|
*/
'cf_zone_id' => env('CLOUDFLARE_ZONE_ID', '00000'),
'cf_auth_bearer' => env('CLOUDFLARE_AUTH_BEARER', '00000'),
];