Wait for a deploy to finish
render_wait_for_deployPolls a deploy until it reaches a terminal state or the timeout expires. Use after creating a deploy to wait for completion without manual polling.
Instructions
Polls a deploy until it reaches a terminal state (live, build_failed, update_failed, canceled, deactivated) or the timeout expires. Defaults to the service's most recent deploy. Use after render_create_deploy instead of polling render_retrieve_deploy in a loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployId | No | Deploy to watch. Omit to watch the most recent deploy of the service. | |
| serviceId | Yes | Service id (srv-…) or service name. | |
| timeoutSeconds | No | How long to wait before returning the deploy in its current state. | |
| pollIntervalSeconds | No | Delay between status checks. |