Pietro Fiorillo × Just In Time Logística
Corporate site with a headless CMS (Sanity) and a custom CI/CD pipeline on Google Cloud that redeploys the site on its own, with no code or server to touch.
- Client
- Just In Time Logística
- Type
- Corporate site with a headless CMS (Sanity) and a custom CI/CD pipeline on Google Cloud
- Role
- Design, frontend development, Sanity CMS integration and a CI/CD pipeline on Google Cloud Platform.
- Status
- Live

01The challenge#
Just In Time is a logistics, distribution and transport company in CABA and Greater Buenos Aires (Argentina). The brief was not a traditional static landing page, but a site whose content the marketing team could edit (copy, services, fleet photos) without depending on a developer for every change, while keeping the speed of a fully static site and requiring no server to maintain in production. The obvious path on Google Cloud Platform for triggering an automatic redeploy, a webhook-type Cloud Build Trigger, turned out not to be creatable on this project without an attached source repository, so the automation had to be solved another way.
02The solution#
- 01Next.js 16 (App Router) exported as a fully static site (output: export): HTML, CSS and JS are generated at build time and served from Firebase Hosting, with no Node server in production.
- 02Sanity Studio runs as an independent app, separate from the public Next.js site, so its dependencies (React 19, styled-components) never contaminate the site's bundle.
- 03A custom script (sync-sanity-content.mjs) runs on every build, pulls the published content via GROQ and writes it out as typed TypeScript modules in lib/data: zero runtime fetches, zero loading states.
- 04A relay on Cloud Run receives Sanity's webhook on publish, validates a secret and calls Google Cloud Build's API directly (projects.builds.create) to start a new build, bypassing a native Trigger.
- 05The app's source code travels as a tarball in Cloud Storage rather than living in a repository wired to the pipeline, so every publish is, in effect, a complete build from scratch.
- 06Service pages generated with generateStaticParams from each Sanity document: a new service in the CMS creates its own route, with metadata and JSON-LD (Service, BreadcrumbList, FAQPage) on the next build.
- 07Forms built with React Hook Form and Zod, with the service pre-selected from a URL parameter.
- 08Security headers (a CSP tailored to the domain, X-Content-Type-Options, Referrer-Policy, Permissions-Policy) applied in firebase.json, and Sanity's secrets kept in Secret Manager, never in the repository.
03How it is built#
- The team publishes a change in Sanity Studio
- A webhook reaches the Cloud Run relay, which validates the secret
- The relay triggers a build on Google Cloud Build: it fetches the code, syncs Sanity and compiles
- Firebase Hosting serves the updated static site, within minutes and with no manual step
04Stack#
- Next.js 16
- React 19
- TypeScript
- Tailwind CSS v4
- Sanity CMS
- Framer Motion
- React Hook Form
- Zod
- Google Cloud Build
- Cloud Run
- Firebase Hosting
- Secret Manager
05Why it works#
- A custom relay on Cloud Run instead of a native Cloud Build Trigger: webhook-type Triggers could not be created on this project without an attached source repository, and migrating version control just to unblock one infrastructure resource would have been a patch, not a fix.
- Content synced to TypeScript at build time instead of a client-side fetch: several sections use Framer Motion and are therefore Client Components, which cannot await a server fetch; baking the content into the bundle removes loading states and keeps end-to-end typing.
- Source code shipped as a Cloud Storage tarball instead of a repository wired into the pipeline: every CMS publish triggers a clean build from scratch, with no dependency on Git repository permissions.
- Explicit GEO rules in robots.txt instead of relying on the global allow alone: naming GPTBot, ClaudeBot and PerplexityBot by name makes it auditable that the site wants to be cited by AI search engines, not merely that it does not block them.
06Outcome#
- The marketing team edits copy, services and photos in Sanity Studio and sees the change live within minutes, with no code and no terminal.
- 13 static HTML pages served from Firebase Hosting's CDN, with no cold starts and no server to maintain.
- LocalBusiness, Service, FAQPage and BreadcrumbList JSON-LD generated from the CMS's real content, sitemap and robots as code, with explicit allow rules for AI crawlers.
- Security headers (CSP, Referrer-Policy, Permissions-Policy) applied at the hosting layer, and Sanity's secrets managed in Secret Manager, never in the repository.
- An operational log of the infrastructure problems solved along the way, documented so the same dead ends are not repeated.
Results and figures published by MANYA Digital for this project.
Other projects
View all projects →
LEL Blanquería
Static, ultra-fast online catalog with its own admin panel that triggers its own redeploy on Google Cloud Build every time the client edits a product.
Next.js · React · TypeScript

Laura Spanish Online
Bilingual conversion landing page for a Spanish teacher, with real route-level i18n and a structured data graph built for AI search engines.
Next.js · React · TypeScript
Los Luises Sublimación
Online store with an admin panel and automatic deploys for a sublimation and custom printing workshop.
Next.js · React · TypeScript
Want a project like this?
If you need a website, an application or a system for your business, let's talk.
Get in touch