Skip to content
Docs

Deploy webhook and development lifecycle

Report deploys from any tool with a signed request, and see branches, commits, pull requests, deploys and releases on each task.

BetaOwnerExecutiveTeam leadIndividual contributorLast updated 15 November 2026

This feature is in beta. If you do not see it, ask your admin to turn it on for your organization.

SetupAn admin turns on the deploy webhook, or development tracking, for your organizationWhoOwners and executives set up the webhook. Anyone who can see a task can read its Development panel.Roles

This page covers two related pieces. The deploy webhook lets any tool tell ProjectBrain about a deploy with a signed request. The development lifecycle puts the branches, commits, pull requests and deploys behind a task on the task itself, so you can see how far it has gone, from first branch to release.

There are two switches, and an admin turns each on for your organization:

  • Deploy webhook turns on the signed deploy endpoint, its settings page, deploy and release information on tasks, and release milestones. It works without GitHub or GitLab. Teams that deploy with Vercel, Forge, ServerAvatar or a script can use it alone.
  • Development tracking turns on branches, commits and the GitHub or GitLab deploy path. It also needs GitHub or GitLab connected. Turning it on also opens the deploy webhook, so existing users keep working.
  1. Go to Organization settings > Integrations > Deploys.
  2. Choose Create webhook. You get an Endpoint URL and a Signing secret. Copy the secret now. It is shown only once.
  3. Optionally pick a Project. Deploys from the webhook then count as deploys of that project, so an error that starts right after one reads “Started right after deploy” even when no task came with it. See Error tracking.
  4. In your pipeline, send a signed request each time something deploys.

Send a POST with a JSON body and these headers:

  • X-ProjectBrain-Timestamp: the time in Unix seconds. Requests more than 5 minutes off are refused.
  • X-ProjectBrain-Signature: sha256= followed by the hex HMAC-SHA256 of the timestamp, a dot and the exact body, using your signing secret.

The body fields are:

Field Meaning
environment Required. The environment, such as staging or production. A new name creates an environment.
status Required. success, failure, in_progress or pending.
sha The deployed commit. Send this, task_keys, or both.
task_keys A list of task keys the deploy carried.
version Optional. A release version such as v2.4.0. It attaches the deploy to a tracked release.
url Optional. A link to the deploy, https only.
deployed_at Optional. A success without it is stamped now.
external_id Optional. Makes a repeated call safe.

Sign the exact bytes you send. An example request is shown on the settings page. A request with a bad signature, an old timestamp or a repeated envelope is refused. A webhook that does not exist, or one for an organization that has the feature off, answers “not found”.

  • Recent deliveries lists the last 20 requests with the result, such as accepted or refused. Request bodies are not stored.
  • Rotate secret gives a new secret, shown once. The old one keeps working for 7 more days, so you can update your pipeline without missing a deploy.
  • Environments lists the environments deploys created. You can rename one, reorder it and mark it as production. Renaming changes what is shown. Deploys keep matching on the original name. A deploy to production, live or prod is marked production on first sight.

If GitHub is connected and development tracking is on, GitHub deployments and their statuses become deploys without any webhook. GitHub must send deployment events to ProjectBrain. See GitHub. GitLab deployment events work the same way.

A successful deploy is linked to the tasks it carried:

  • A task whose key is on a commit that was deployed.
  • A task with a merged pull request whose merge commit is in the deployed code. ProjectBrain asks GitHub, looks back 90 days and checks at most 25 merges per deploy.
  • Tasks named in task_keys from the webhook.

A task with no link to a successful deploy reads Not seen in a deploy yet. It never reads “Not deployed”, because a squash merge done elsewhere or a skipped check can leave no link even when the code is live.

Open a task and look for its Development panel. Sections appear only when they have something, in this order:

  1. Branches: branches whose name contains the task key. Copy branch name on the task gives you a name to use.
  2. Commits: commits whose message names the task. A long list shows the first few. Show all reveals the rest.
  3. Pull requests: linked pull requests or merge requests, with live status.
  4. Deploys: each successful deploy and its environment.
  5. Release: the release the task shipped in.

A branch or commit counts when it names the task key, and the repository is mapped to the task’s project. A mapping that is paused, or a removed repository, records nothing. An AI assistant connected to ProjectBrain can read the same information. It sees exactly what you would.

A milestone can be marked as a release, with a version number. Open it in the project’s Timeline tab and look for its release settings. They appear only when the deploy webhook is on and you can edit the project.

  • Mark released records that it shipped. A second press changes nothing, and the first date is kept.
  • Mark released when every task reaches production is an opt-in. When a successful production deploy carries every task of the milestone, except canceled ones, ProjectBrain marks it released on its own. A milestone with no tasks, or with a task not yet deployed, is never auto-released.

For releases with versions, checks, sign-offs and several environments, use the Release tracker.

  • ProjectBrain records deploys. It does not run or roll back a deploy.
  • A deploy event for a repository that is not mapped to a project is not stored.
  • Deploy webhook secrets are shown once. If you lose one, rotate it.
  • Automatic release needs the deploy to name or carry the tasks. Coverage depends on what your pipeline sends.
  • This feature is in beta, and screens and wording may change.