With deploy previews, I always enable the notifications for PR comment success/failure, so I can quickly get a link to the live preview or error logs.
I have a mono-repo where sometimes I make changes that don’t affect the build output of the site. When I do this, Netlify cancels the preview build, which is fine. However, when it does this, it replaces the PR “success” comment with a “canceled” comment, which also removes the link to the preview.
Related discussion:
It looks like perhaps I could just make a Netlify config file and set ignore
to false
to make sure it never gets canceled? But I don’t really need to do that. I just want the link from the last successful build to stay around.