mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-21 03:56:28 +00:00
Use the correct secret to clear cache on the Cloudflare frontend (#2881)
This commit is contained in:
parent
8133cfead8
commit
6d7db27f84
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user