mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-20 02:18:37 +00:00
Use the correct secret to clear cache on the Cloudflare frontend (#2881)
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -292,7 +292,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl --silent --show-error --fail -X POST \
|
curl --silent --show-error --fail -X POST \
|
||||||
"https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE }}/purge_cache" \
|
"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" \
|
-H "Content-Type: application/json" \
|
||||||
--data '{"files": [
|
--data '{"files": [
|
||||||
"https://os-artifacts.home-assistant.io/index.html",
|
"https://os-artifacts.home-assistant.io/index.html",
|
||||||
|
|||||||
Reference in New Issue
Block a user