From f328eec26d4fbc9abce028e33a2ea89207d49acc Mon Sep 17 00:00:00 2001 From: Jai A Date: Wed, 31 Jul 2024 12:59:09 -0700 Subject: [PATCH] use bearer auth instead --- .github/workflows/frontend-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frontend-pages.yml b/.github/workflows/frontend-pages.yml index ac9843450..66a2e5223 100644 --- a/.github/workflows/frontend-pages.yml +++ b/.github/workflows/frontend-pages.yml @@ -22,7 +22,7 @@ jobs: if: github.ref == 'refs/heads/main' run: | curl -X POST \ - -H "Authorization: ${{ secrets.CF_API_TOKEN }}" \ + -H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \ -H "Content-Type: application/json" \ --data '{"hosts": ["modrinth.com", "www.modrinth.com"]}' \ https://api.cloudflare.com/client/v4/zones/e39df17b9c4ef44cbce2646346ee6d33/purge_cache