Ignored Build Step - Build your Next.js project on the basis of commit message

Опубликовано: 24 Июль 2026
на канале: Be Practical
347
7

Hey programmers, in this video I've explained about customizing the rebuilding of your next.js project on the basis of last git commit message.

By default whenever you merge a pull request or push changes in main (production) branch of your project, vercel will automatically build your entire application. But this is not the efficient as if you made any changes in readme.md file or any small change which is not necessary for your project to be rebuilded then in that case also vercel will build your entire application.

To prevent this we've used vercel's "ignored build step" feature. We customized our project in such a way that if want to build our application then we just need to write "build" in the git commit message before pushing and vercel will rebuild our entire application. If you don't write "build" in the git commit message and push your changes then changes will be saved in your git repository but your entire application will not be rebuilded.

Git repo of project: https://github.com/anand346/findissues

copy the bash code from the "vercel.sh" file of the git repo.

Like share and subscribe to this channel, thanks.