Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure vercel -f to always redeploy without existing build cache ? #677

Open
adrianpdm opened this issue Jun 9, 2022 · 0 comments

Comments

@adrianpdm
Copy link

First of all, thank you for this awesome package. This really simplify my deployment pipeline for Nuxt SSR in Vercel. ⭐ ⭐ ⭐

Issue Description

My current project at Vercel seems to randomly throw error during build. The issue is guaranteed to be gone when i redeploy and uncheck the "Redeploy with existing build cache".
Screen Shot 2022-06-09 at 11 52 20

After contacting Vercel support, they suggest that i should use -f flag on vercel command.
But i'm not sure where to incorporate that flag using this vercel-builder package.

I've tried setting NUXT_CACHE_DISABLED in project Environment Variables settings. But this doesn't seem to be working.
Screen Shot 2022-06-09 at 11 59 54

Question

  1. Is NUXT_CACHE_DISABLED meant to set -f flag? If so, where to put that env value?
  2. If not, is there any way to do this?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant