Vercel consistently deploys an old commit despite pushes to main

Hi
I’m having trouble with a project connected to my GitHub repository, Every time I push my latest commit to the main branch, Vercel does create a new deployment entry (with a new slug), but when I open that deployment the Source still shows the old commit

thanks

Hi @jimmycode06, welcome to the Vercel Community!

Sorry that you are facing this issue. If possible, can you share a screen recording of this so we can help you debug the issue?

I’m experiencing the same.

Main is updated, but vercel insists on an old commit. I’ve tried removing the connection to the repo and recreating.

Hmm. It appears that it’s no longer allowed to push by another user than the owner. I’ve forced pushed with the owner, but it doesn’t seem to fix it?

image

Hi , To make commits in Git, you need to tell Git who you are by setting your name and email — you can do this once using the following commands in your terminal:
git config --global user.name "Your Name"
git config --global user.email "your@email.com"

My problem was solve with that :slight_smile:

2 Likes

Thanks. It appears that I had an error in my vercel.json so this may also have caused problems?

1 Like

Thanks for sharing this, Jimmy! I’d also recommend this if it hadn’t worked already but it seems to be working for @worldgamesdk now :slight_smile: