feat(static-sites): add scoped Bunny purge gateway
All checks were successful
Test / test (push) Successful in 12s

This commit is contained in:
Eric Wendland 2026-07-17 19:50:31 +02:00
commit 86964aa187
4 changed files with 123 additions and 7 deletions

View file

@ -13,6 +13,10 @@ inputs:
description: Regional Bunny Storage API hostname.
required: false
default: storage.bunnycdn.com
purge-endpoint:
description: Optional trusted static-site purge gateway base URL.
required: false
default: ""
dry-run:
description: Report changes without uploading or deleting files.
required: false
@ -27,6 +31,7 @@ runs:
STATIC_SITE_DIRECTORY: ${{ inputs.directory }}
BUNNY_STORAGE_ZONE: ${{ inputs.storage-zone }}
BUNNY_STORAGE_ENDPOINT: ${{ inputs.storage-endpoint }}
BUNNY_PURGE_ENDPOINT: ${{ inputs.purge-endpoint }}
STATIC_SITE_DRY_RUN: ${{ inputs.dry-run }}
run: |
set -euo pipefail