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: add dispatcher to kick off deployment

Brad Barbin21d2c8fe2f4c
diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml
new file mode 100644
index 0000000000..c54a043936
--- /dev/null
+++ b/.github/workflows/dispatch.yml
@@ -0,0 +1,20 @@
+name: Dispatcher
+on:
+ push:
+ branches: [ci/dispatcher]
+
+jobs:
+ dispatch:
+ name: Dispatch
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ repo: ["barbinbrad/fiber"]
+ timeout-minutes: 5
+ steps:
+ - name: Dispatch to fiber
+ run: |
+ curl -H "Accept: application/vnd.github.everest-preview+json" \
+ -H "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \
+ --request POST \
+ --data '{"event_type": "release", "client_payload": { "key": ${{ secrets.DISPATCH_KEY_PROD }} }}' https://api.github.com/repos/${{ matrix.repo }}/dispatches