Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
ci(assembler): treat empty STAGE as prod
Sidwebworks4f9d2fb14ffd
diff --git a/ci/src/assembler.ts b/ci/src/assembler.tsindex cd8b0a9346..d428fc5a97 100644--- a/ci/src/assembler.ts+++ b/ci/src/assembler.ts@@ -18,7 +18,10 @@ async function deploy(): Promise<void> {}console.log(`✅ 🏷️ Using image tag: ${imageTag}`);- const stage = process.env.STAGE ?? "prod";+ // `||` not `??`: on push events the workflow's `inputs.stage` is empty, so+ // STAGE arrives as "" — `??` would pass that through and sst would deploy a+ // fresh empty-named stage (colliding on the account-global custom domain).+ const stage = process.env.STAGE || "prod";const { data: workspaces, error } = await client.from("workspaces")