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: combine two deploy triggers into one
Brad Barbin62302e38894b
diff --git a/.github/workflows/functions.yml b/.github/workflows/functions.ymldeleted file mode 100644index 0f54d9fd07..0000000000--- a/.github/workflows/functions.yml+++ /dev/null@@ -1,24 +0,0 @@-name: Deploy Edge Functions-on:- push:- branches: [main]- paths: ["packages/database/supabase/functions/**"]--jobs:- dispatch:- name: Dispatch- runs-on: ubuntu-latest- strategy:- matrix:- repo: ["barbinbrad/fiber"]- timeout-minutes: 5- steps:- - name: Dispatch functions to fiber- run: |- curl -L \- -X POST \- -H "Accept: application/vnd.github+json" \- -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":"functions","client_payload":{"key": "${{ secrets.DISPATCH_KEY_PROD }}"}}'diff --git a/.github/workflows/migrations.yml b/.github/workflows/supabase.ymlsimilarity index 76%rename from .github/workflows/migrations.ymlrename to .github/workflows/supabase.ymlindex 3f31b4a1fd..a4008473a4 100644--- a/.github/workflows/migrations.yml+++ b/.github/workflows/supabase.yml@@ -2,7 +2,8 @@ name: Deploy Migrationson:push:branches: [main]- paths: ["packages/database/supabase/migrations/**"]+ paths: ["packages/database/supabase/**"]+ workflow_dispatch:jobs:dispatch:@@ -21,4 +22,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":"migrations","client_payload":{"key": "${{ secrets.DISPATCH_KEY_PROD }}"}}'+ -d '{"event_type":"supabase","client_payload":{"key": "${{ secrets.DISPATCH_KEY_PROD }}"}}'