When should you use this guide?
There’s missing information about past deployments, and you want to fill in the gaps.
You want more accurate details about when your PRs were deployed to production.
How to report deployments
Step 1. Prepare a list of:
Deployments by PR: When each PR was deployed. You’ll need:
PR number
Full repository name
Deployments by Commit: When a specific commit SHA was deployed. You’ll need:
Commit SHA
Full repository name for each commit
Step 2. Obtain a Teambit API Key
Go to organization settings, locate the Teambit API section, generate a token, and copy it.
Step 3. Create a script to call the Teambit API for each deployment from Step 1
Refer to the documentation. It explains what to send, possible responses, and includes usage examples.
Step 4. Notify Teambit once the deployments are created
The Teambit team will ensure that PRs use the reported deployments to calculate cycle time.