Next.js Discord

Discord Forum

Redeploy the last commit

Spectacled Caiman posted this in #help-forum
Open in Discord
Spectacled CaimanOP
Good afternoon band, I hope you are well.
It turns out that I have a project deployed in Vercel and I sent a commit with some module import errors. Obviously the new construction failed.

I checked again and corrected this error. I sent a new commit with the solution.

But now that Vercel tries to do the build, it uses the commit with the error and not the last one, which is the one that has everything ok and allows the build correctly.

How can I get him to take the last commitment?

As an example, I made a new deployment of the same repo and it did take the last commit and thus it was deployed correctly.

0 Replies