Next.js Discord

Discord Forum

Force new build cache from GitHub deployment

Answered
Lenz Weber-Tronic posted this in #help-forum
Open in Discord
I'm building a library for Next.js, which means that every new deploy to Vercel will have an updated library in node_modules. Now the build cache doesn't seem to notice that and I always have to manually click Redeploy.
I found ways of forcing around that for command line deployments or web hook deployments, but not for deployments triggered by the GitHub integration.
Is there any way around that?
Answered by Lenz Weber-Tronic
This did it
View full answer

2 Replies

This did it
Answer
Nice, didn’t know this existed. I will definitely need this at some point