Fix CloudFront invalidation globbing

This commit is contained in:
Carlos Polop
2026-01-26 16:08:11 +01:00
parent 583de4835d
commit b6082c0f47
2 changed files with 2 additions and 1 deletions

View File

@@ -91,6 +91,8 @@ jobs:
- name: Create CloudFront invalidation - name: Create CloudFront invalidation
if: steps.paths.outputs.paths != '' if: steps.paths.outputs.paths != ''
run: | run: |
set -euo pipefail
set -f
aws cloudfront create-invalidation \ aws cloudfront create-invalidation \
--distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}" \ --distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}" \
--paths ${{ steps.paths.outputs.paths }} --paths ${{ steps.paths.outputs.paths }}

View File

@@ -83,4 +83,3 @@ class MDBookSidebarScrollbox extends HTMLElement {
} }
} }
window.customElements.define("mdbook-sidebar-scrollbox", MDBookSidebarScrollbox); window.customElements.define("mdbook-sidebar-scrollbox", MDBookSidebarScrollbox);
// Cache invalidation test: hbs change