We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0659415 commit 1f1e510Copy full SHA for 1f1e510
.github/workflows/build.yml
@@ -152,8 +152,10 @@ jobs:
152
CF_ZONE_ID: ${{ secrets.CF_ZONE_ID }}
153
CF_PURGECACHE_TOKEN: ${{ secrets.CF_PURGECACHE_TOKEN }}
154
run: |
155
- Invoke-WebRequest @{
+ $params = @{
156
+ Method = 'POST'
157
Uri = "https://api.cloudflare.com/client/v4/zones/$env:CF_ZONE_ID/purge_cache"
158
Headers = @{Authorization="Bearer $env:CF_PURGECACHE_TOKEN"}
159
Body = '{"hosts":["update.launcherkit.sporecommunity.com"]}'
- }
160
+ }
161
+ Invoke-WebRequest @params
0 commit comments