Version frontend assets and disable stale caching
Build and publish frontend / publish (push) Successful in 41s

This commit is contained in:
Ein Anderssono
2026-10-16 00:43:09 +02:00
parent 00f7334580
commit d788ca39ec
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -4,6 +4,8 @@ set -euo pipefail
test -s index.html
grep -q '<html lang="sv">' index.html
grep -q 'id="frontend-version">__FRONTEND_VERSION__' index.html
grep -q '<script src="/voice.js?v=__FRONTEND_VERSION__"></script>' index.html
grep -q 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0' nginx/default.conf
grep -q "request('/version')" index.html
grep -Fq "credentials: 'same-origin'" index.html
grep -q 'id="dialogue" aria-label="Dialoghistorik" role="log" aria-live="polite"' index.html