Skip to content

Commit

Permalink
Revert "CI: Add step to purge Cloudflare cache"
Browse files Browse the repository at this point in the history
This reverts commit 99625f4.

No longer applicable by disabling the page caching rule for
"everything".
  • Loading branch information
lah7 committed Jan 4, 2025
1 parent a7b1977 commit bc2a75e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/publish-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc2a75e

Please sign in to comment.