feat: add per-file cache_rules and fix argument escaping #32

Merged
Michael.Seele merged 1 commit from feature/publish-static-contents-cache-rules into main 2026-05-22 05:09:48 +00:00

1 commit

Author SHA1 Message Date
c690178858 feat: add per-file cache_rules and fix argument escaping
All checks were successful
validate-shared-actions / validate-shared-actions (pull_request) Successful in 29s
Aikido Security PR Check / Aikido Security Scan (pull_request) Successful in 1m17s
- Add cache_rules input: JSON array of per-file cache overrides, each uploaded individually with its own Cache-Control and Content-Type headers and excluded from the bulk sync
- When versioning is true and cache_rules is empty, auto short-cache index.html (no-cache, max-age=300) if it exists in dist_dir
- Fix EXCLUDE_ARGS and CT_ARG to use bash arrays for correct handling of filenames and content-type values containing spaces
2026-05-22 05:06:42 +00:00