Prevent auto deploy increase
Answered
Maltese posted this in #help-forum
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.
7 Replies
@Maltese 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
Use the ignored build step setting to configure Vercel to skip commits with certain phrases, like “skip ci”: https://github.com/orgs/vercel/discussions/60#discussioncomment-114386
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