Skip to content

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.

ci: vercel fix test

Brad Barbind422761a3600
diff --git a/.github/workflows/dispatch.yml b/.github/workflows/migrations.yml
similarity index 74%
rename from .github/workflows/dispatch.yml
rename to .github/workflows/migrations.yml
index a47a8f832b..4f377ebe48 100644
--- a/.github/workflows/dispatch.yml
+++ b/.github/workflows/migrations.yml
@@ -1,7 +1,8 @@
-name: Dispatcher
+name: Run Migrations
on:
push:
branches: [main]
+ paths: ["packages/database/supabase/migrations/**"]
jobs:
dispatch:
@@ -20,4 +21,4 @@ jobs:
-H "Authorization: Bearer ${{ secrets.DISPATCH_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ matrix.repo }}/dispatches \
- -d '{"event_type":"release","client_payload":{"key": "${{ secrets.DISPATCH_KEY_PROD }}"}}'
+ -d '{"event_type":"migrations","client_payload":{"key": "${{ secrets.DISPATCH_KEY_PROD }}"}}'
diff --git a/apps/carbon/app/routes/onboarding+/index.tsx b/apps/carbon/app/routes/onboarding+/_index.tsx
similarity index 100%
rename from apps/carbon/app/routes/onboarding+/index.tsx
rename to apps/carbon/app/routes/onboarding+/_index.tsx
diff --git a/apps/carbon/app/routes/x+/index.tsx b/apps/carbon/app/routes/x+/_index.tsx
similarity index 100%
rename from apps/carbon/app/routes/x+/index.tsx
rename to apps/carbon/app/routes/x+/_index.tsx