blueprint-firebase-deploy-dev · git:20260925.2447382 · 2026-09-25 · sha256 5c0309b2b26e6bde

blueprint-firebase-deploy-dev git:20260925.2447382A

Immutable. This exact content never changes and is served at /api/v1/blob/5c0309b2b26e6bde.

---
name: blueprint-firebase-deploy-dev
description: "Deploy rules, indexes, functions and hosting to the dev project."
---

# Publish to dev

1. `yarn build`, then give this build an id and ship it with the site:
   `node -e 'console.log(require("crypto").randomUUID())' > .blueprint/build-id && cp .blueprint/build-id dist/blueprint-build.txt`,
   then `firebase deploy --project dev`. The check compares the served id with `.blueprint/build-id`, so it
   proves THIS build is live. Git is not needed for this.
2. Tell the user the URL (`https://<dev-project-id>.web.app`) and what to try there.

Never deploy to `prod` in this step.

Done when the check passes: the dev site serves the id this deploy wrote to `.blueprint/build-id`.

## Always

- Read `.blueprint/spec.md` first. It is the agreed specification; do not widen it.
- When you need a decision, ask it through the blueprint question tool and stop. Do not guess.
- Never enable billing, deploy to production, delete data or handle a credential unless this step's gates say the
  user approved exactly that.
- Say you are done by stopping; the executor runs the check. Do not claim success yourself.