mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-26 06:26:29 +00:00
Fix GitHub action build.yaml (#2868)
This commit is contained in:
parent
9c021aa766
commit
28c13d7709
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@ -281,10 +281,10 @@ jobs:
|
|||||||
- name: Flush CloudFlare cache
|
- name: Flush CloudFlare cache
|
||||||
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_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",
|
||||||
"https://os-artifacts.home-assistant.io/index.json"
|
"https://os-artifacts.home-assistant.io/index.json"
|
||||||
] }'
|
] }'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user