From 50419c77128289833193d6ab15516fd31078966c Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Wed, 7 Oct 2026 17:26:38 +1000 Subject: [PATCH] TINYDOC-3653: Serve the markdown page copies with the same cache lifetime as HTML. --- .github/workflows/deploy_docs_v2.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy_docs_v2.yml b/.github/workflows/deploy_docs_v2.yml index c47a18cca0..32b7b4f53b 100644 --- a/.github/workflows/deploy_docs_v2.yml +++ b/.github/workflows/deploy_docs_v2.yml @@ -75,10 +75,12 @@ jobs: run: | aws s3 sync ./build s3://${BUCKET}/main/${RUN} \ --exclude "*/index.html" \ + --exclude "*/index.md" \ --cache-control "public, max-age=3600, stale-if-error=3600, stale-while-revalidate=86400" aws s3 sync ./build s3://${BUCKET}/main/${RUN} \ --exclude "*" \ --include "*/index.html" \ + --include "*/index.md" \ --cache-control "max-age=300, stale-if-error=3600, stale-while-revalidate=86400" # Attachment PDFs, such as the accessibility conformance reports, are served