Skip to content

Use netlify watch to monitor a specific build hook deploy #1986

@esetnik

Description

@esetnik

Is your feature request related to a problem? Please describe.
Use netlify watch to determine whether a specific deploy triggered by a webhook is finished

Describe the solution you'd like
When calling the build hook endpoint we should get back an identifier to the build and then we could pass it to netlify watch to watch the progress of that build. Ideally netlify watch would also stream the build logs to the console.

Describe alternatives you've considered
Using netlify api commands to try to figure out which build was triggered by the call to the hook

Additional context
Netlify watch currently watches for all builds to complete, but in a CI environment with multiple environments and branch deploys there's no easy way to watch for a specific build to complete and use it to notify an external CI system that the build was successfully deployed.

Can you submit a pull request?
No

Pull requests are welcome! If you would like to help us add this feature, please check our
contributions guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: command: watchtype: featurecode contributing to the implementation of a feature and/or user facing functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions