1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-19 18:08:29 +00:00

Use the correct secret to clear cache on the Cloudflare frontend (#2881)

This commit is contained in:
Stefan Agner
2023-10-30 14:54:22 +01:00
committed by GitHub
parent 8133cfead8
commit 6d7db27f84

View File

@@ -292,7 +292,7 @@ jobs:
run: |
curl --silent --show-error --fail -X POST \
"https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE }}/purge_cache" \
-H "Authorization: Bearer ${{ secrets.CF_TOKEN }}" \
-H "Authorization: Bearer ${{ secrets.CF_PURGE_TOKEN }}" \
-H "Content-Type: application/json" \
--data '{"files": [
"https://os-artifacts.home-assistant.io/index.html",