report build-and-deploy failures only after retries (#79574)
In #75749 we made a single failure for `build-and-deploy` alert. However
as seen there can be transient failures
([ex1](https://github.com/vercel/next.js/actions/runs/15218556449/job/42809569102),
[ex2](https://github.com/vercel/next.js/actions/runs/15198747807/job/42748740308))
This updates the logic to treat both workflows the same, and alert after
3 retries.