From bc2a75eb7a28f0fbfc3af1bb1e236256997a7c7d Mon Sep 17 00:00:00 2001 From: Luke Horwell Date: Sat, 4 Jan 2025 11:59:39 +0000 Subject: [PATCH] Revert "CI: Add step to purge Cloudflare cache" This reverts commit 99625f4ac645fd311984ae24fb3ea403e15838d1. No longer applicable by disabling the page caching rule for "everything". --- .github/workflows/publish-web.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/publish-web.yml b/.github/workflows/publish-web.yml index abb4e8e..c274184 100644 --- a/.github/workflows/publish-web.yml +++ b/.github/workflows/publish-web.yml @@ -31,11 +31,6 @@ jobs: directory: online/build gitHubToken: ${{ secrets.GITHUB_TOKEN }} - - name: Purge Cloudflare Cache - if: ${{ github.event_name == 'push' && github.repository == 'ubuntu-mate/ubuntu-mate-guide' && github.ref == 'refs/heads/master' }} - run: | - curl -X POST --fail-with-body https://api.cloudflare.com/client/v4/zones/${{secrets.CLOUDFLARE_ZONE_ID}}/purge_cache -H "Authorization: Bearer ${{secrets.CLOUDFLARE_API_TOKEN}}" -H "Content-Type: application/json" --data '{"purge_everything":true}' - test: name: Proofing runs-on: ubuntu-latest