Next.js Discord

Discord Forum

Prevent auto deploy increase

Answered
Maltese posted this in #help-forum
Open in Discord
MalteseOP
Hello, guys! Can you tell me how I can prevent vercel from increase the number of deployments, because if I make 3 commits, its gonna create 3 deployments. I know vercel works like that and its logical, but I want just to update the main branch without creating new deployments
Answered by joulev
To make changes to the website without requiring a deployment, you have to fetch the data like you would for database data and similar stuff. Source code changes always require a new deployment.
View full answer

7 Replies

MalteseOP
I want the new changes to be visible on vercel, but I don't want to make a new deployment
because its gonna get messy
I want to update existing deployment
@Maltese I want the new changes to be visible on vercel, but I don't want to make a new deployment
That’s impossible. New changes require new deployments. That’s literally what deployments are for.
MalteseOP
ok tnx for the response
To make changes to the website without requiring a deployment, you have to fetch the data like you would for database data and similar stuff. Source code changes always require a new deployment.
Answer