mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-03-12 21:22:57 -07:00
Fix CloudFront invalidation globbing
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user