For anyone else stuck with this: currently we’re using a workaround on the GitHub side: only requiring the netlify/ph-preview/deploy checks on our branch protection rules, and not the misbehaving netlify/deploy checks:
Sorry to hijack this thread. It seems Netlify is not using the Github Deployments API correctly.
I run https://checklyhq.com and we trigger specific actions based on Github Deployment hooks.
This works perfectly for deployments done by companies like Zeit and Heroku. However, Netlify seems to not trigger the correct deployment status updates as per the Github API, https://developer.github.com/v3/repos/deployments/
I would love for our customers to use Checkly on their Netlify deployments, but there is no way for us now to find out when a deployment is finished.
We don’t use the github deployments API at all, Tim. That’s not a bug, it’s how we intend to roll
I have added your voice to the feature requests that we DO use that API, but there is no work planned to do so.
To others who may run into this issue: this could be due to account-level commit status notifications, which you can find here (swap out YOUR-TEAM with your team name ): https://app.netlify.com/teams/YOUR-TEAM/settings/sites#notifications
If you run into this hanging “deploy/netlify” status, try changing the setting there to “One notification per repo”
Update - I’ve discovered that this specific notification in this site was stuck because you must enable ‘Add Deploy Preview notifications to commits when Deploy Preview succeeds’ notification in https://app.netlify.com/sites/<your-site>/settings/deploys#deploy-notifications. Once I did this, the item has passed on the list.