Skip to content

Commit

Permalink
Extract pull zone id in CI script into a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed May 2, 2023
1 parent a0caca3 commit e8c54d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ jobs:
run: |
# Clear CDN cache to re-request content:
curl -f --request POST \
--url https://api.bunny.net/pullzone/1110200/purgeCache \
--url https://api.bunny.net/pullzone/$PULL_ZONE_ID/purgeCache \
--header "AccessKey: $BUNNY_SITE_API_KEY"
env:
PULL_ZONE_ID: 1110200
BUNNY_SITE_API_KEY: ${{ secrets.BUNNY_SITE_API_KEY }}

0 comments on commit e8c54d7

Please sign in to comment.