Unverified Commit 345a36c9 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Don't upload build cache for deployment tests (#89432)

We use `vc deploy -f`, so the build cache is never read anyway.
parent 2465b50c
......@@ -89,8 +89,18 @@ export async function resetProject({
Authorization: `Bearer ${token}`,
},
body: JSON.stringify({
framework: 'nextjs',
name: projectName,
framework: 'nextjs',
resourceConfig: {
buildMachineType: 'enhanced',
},
env: [
{
key: 'VERCEL_FORCE_NO_BUILD_CACHE_UPLOAD',
value: '1',
target: ['production', 'preview', 'development'],
},
],
}),
},
{
......@@ -120,9 +130,6 @@ export async function resetProject({
body: JSON.stringify({
ssoProtection: null,
passwordProtection: null,
resourceConfig: {
buildMachineType: 'enhanced',
},
}),
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment