diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a28e523..72ec02d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -18,7 +18,7 @@ on: - .gitea/workflows/deploy.yml env: - PORTAL_RELEASE: v0.3.0 + PORTAL_RELEASE: v0.3.1 INSTANCE: redoal-portal jobs: @@ -67,6 +67,10 @@ jobs: # The release tarball carries the site bundle at site/ (no # target/ prefix), so override Cargo.toml's build-time path. LEPTOS_SITE_ROOT=site + # Portal ships content-hashed pkg files (portal..js) with + # a hash.txt in the site root; this makes the server reference + # them, so a stale cached bundle can never pair with new wasm. + LEPTOS_HASH_FILES=true # Read-only Gitea token - here it also backs the # gitea_releases source for the private redoal/redoal repo, # so the owning user needs read access there.