Description
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.