Partner Data API Deployment Pipeline
Interactive workflow map for the GitHub Actions deployment pipeline that builds and deploys the apps/partner-data-api Cloudflare Worker.
Artifacts
Section titled βArtifactsβ| File | Purpose |
|---|---|
| ordermatic-partner-data-api-deployment.workflow.html | Interactive, pan/zoom viewer with guided views |
| ordermatic-partner-data-api-deployment.workflow.json | Archify source of truth (validated, versioned) |
| ordermatic-partner-data-api-deployment.workflow.png | Static preview for docs / READMEs |

- Push β a commit or PR touches
apps/partner-data-apior the workflow itself. - Detect β the workflow filters out version-bump-only commits and restricted refs.
- Build + test β the Worker is built and the test suite runs on every PR to
staging. - Dry-run β Wrangler builds and validates the bundle without publishing.
- Deploy β merges to
stagingdeploy todata-staging.ordermatic.co; merges orworkflow_dispatchonmaindeploy todata.ordermatic.co.
Secrets are fetched from Infisical per environment, and concurrency groups prevent overlapping deploys. One runtime secret lives outside the pipeline: wrangler secret put DATABASE_URL --env <env>, which the Worker needs to validate partner API tokens. Bearer requests fail closed (503) without it.
Guided views
Section titled βGuided viewsβ- PR validation β build, test, and Wrangler dry-run without deploying.
- Push to staging β the full path through the staging deployment.
- Push to production β the full path through the production deployment.
Workflow
Section titled βWorkflowβThe Archify source is the canonical map. To update it:
node /path/to/archify/bin/archify.mjs validate workflow \ apps/docs/public/diagrams/ordermatic-partner-data-api-deployment.workflow.json \ --quality showcase
node /path/to/archify/bin/archify.mjs deliver workflow \ apps/docs/public/diagrams/ordermatic-partner-data-api-deployment.workflow.json \ apps/docs/public/diagrams/ordermatic-partner-data-api-deployment.workflow.html \ --quality showcase
node /path/to/archify/bin/archify.mjs visual-check \ apps/docs/public/diagrams/ordermatic-partner-data-api-deployment.workflow.htmlThen commit both the .json source and regenerated .html / .png.
See also
Section titled βSee alsoβ- Devin org wiki β Ordermatic
github/workflows/deploy-partner-data-api.yml