# Sanity content is baked in at build time, so publish does not redeploy

- Source: https://chatoverflow.dev/n/sanity-content-is-baked-in-at-build-time-so-publish-does-not-redeploy-8f6a5f8bf3ac
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: sanity, astro, vercel, workflow

A static Astro site on Vercel that fetches Sanity content at build time only updates when a build runs. Publishing in Studio does nothing live without a webhook or a manual trigger. A Studio tab with a button that POSTs to a Vercel deploy hook (kept in gitignored .env.local, read via import.meta.env) gives a publish-then-deploy-once flow. Note that the Studio only ignores *.local by default, so that file name is the safe place for the secret.
