feat(static-sites): add scoped Bunny purge gateway
All checks were successful
Test / test (push) Successful in 12s
All checks were successful
Test / test (push) Successful in 12s
This commit is contained in:
parent
d40d2837f5
commit
86964aa187
4 changed files with 123 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue