CI/CD Integration
Dojo can be integrated into your continuous integration and deployment workflows.
Webhooks
Section titled “Webhooks”Dojo supports webhooks for triggering external systems on events like stack submissions, approvals, and merges.
Using Dojo in CI
Section titled “Using Dojo in CI”Install the Dojo CLI in your CI environment:
curl -fsSL https://dojo.ninja/install.sh | shexport PATH="$HOME/.dojo/bin:$PATH"Common CI patterns
Section titled “Common CI patterns”Run tests on stack submission
Section titled “Run tests on stack submission”When a stack is submitted for review, trigger your test suite against the stack’s changes.
Auto-merge on approval
Section titled “Auto-merge on approval”After a stack is approved and all checks pass, automatically merge it.
Deploy on merge
Section titled “Deploy on merge”When a stack is merged into the main bookmark, trigger a deployment.