Skip to content

Commit e8c54d7

Browse files
committed
Extract pull zone id in CI script into a variable
1 parent a0caca3 commit e8c54d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ jobs:
128128
run: |
129129
# Clear CDN cache to re-request content:
130130
curl -f --request POST \
131-
--url https://api.bunny.net/pullzone/1110200/purgeCache \
131+
--url https://api.bunny.net/pullzone/$PULL_ZONE_ID/purgeCache \
132132
--header "AccessKey: $BUNNY_SITE_API_KEY"
133133
env:
134+
PULL_ZONE_ID: 1110200
134135
BUNNY_SITE_API_KEY: ${{ secrets.BUNNY_SITE_API_KEY }}

0 commit comments

Comments
 (0)