From 5656405333f37b157f0750082226c314f355f2e1 Mon Sep 17 00:00:00 2001 From: Nick Chan Date: Sat, 8 Jun 2024 02:30:54 +0800 Subject: [PATCH] Remove 'Purge Cloudflare Cache' The cache rules will take care of that as long as no debs are overwritten. --- .github/workflows/publish.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2daa615..99f931f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,7 +48,3 @@ jobs: dryRun: false localDir: 'publish/' remoteDir: '/files' - - - name: Purge Cloudflare cache - run: | - curl -X POST https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE_ID }}/purge_cache -H 'Authorization: Bearer ${{ secrets.CF_API_TOKEN }}' -H 'Content-Type: application/json' --data '{"purge_everything": true}'