|
Hey there, I'm trying to find out if there's a flag or environment variable to skip the build cache in Vercel? Similar to how it's used in the CLI: https://vercel.com/docs/cli#introduction/global-options/force |
Answered by
amyegan
Jun 30, 2022
Replies: 2 comments 14 replies
|
Hi @Blatty. We don't currently have a way to disable the build cache for automated deployments using Vercel for Git integrations, but we do have a few other ways to deploy without build cache:
EDIT (14th Oct 2022): The |
13 replies
Answer selected by
amyegan
|
@amyegan Is the |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Blatty. We don't currently have a way to disable the build cache for automated deployments using Vercel for Git integrations, but we do have a few other ways to deploy without build cache:
forceNewquery parameter to create a new deployment--forceoption, which you already mentionedEDIT (14th Oct 2022): The
VERCEL_FORCE_NO_BUILD_CACHEenv var now exists! Set this to1and the build cache will be skipped.