Netlify auto publishing is not working

My website was working fine until now and it not being deployed automatically.
The latest commit it is showing on deployment page is not the latest on my github repo.

Here’s what it says on Netlify deployment page:********, published main@47ea20e. and 47ea20e is not my latest commit.

This is where you can see it is pretty old commit, not the latest one.

I have tried, unlinking repo and relinking it again. I have tried uninstall/unauthorizing Netlify from Github and reauthorized/reconfigure it.

Manually deploying the website doesn’t work either. Even tho it says Production: main@head, it is not the latest commit but that’s not the main issue. I want auto-deployment to work.

Thank you

A post was merged into an existing topic: Auto-deployment not working after Github push