Skip to content

Commit 0b34f7d

Browse files
committed
Fix CloudFront invalidation globbing
1 parent 54635b9 commit 0b34f7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/cloudfront_invalidate_assets.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ jobs:
9191
- name: Create CloudFront invalidation
9292
if: steps.paths.outputs.paths != ''
9393
run: |
94+
set -euo pipefail
95+
set -f
9496
aws cloudfront create-invalidation \
9597
--distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}" \
9698
--paths ${{ steps.paths.outputs.paths }}

theme/toc.js.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ class MDBookSidebarScrollbox extends HTMLElement {
8383
}
8484
}
8585
window.customElements.define("mdbook-sidebar-scrollbox", MDBookSidebarScrollbox);
86-
// Cache invalidation test: hbs change

0 commit comments

Comments
 (0)