File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,18 +168,21 @@ jobs:
168168 CMS_URL="${{ needs.deploy-cms.outputs.deployment_url }}"
169169
170170 if [ "$IS_PROD" == "true" ]; then
171- DEPLOYMENT_URL=$(vercel deploy --prod --yes --token=${{ secrets.VERCEL_TOKEN }})
171+ DEPLOYMENT_URL=$(vercel deploy --prod --yes --token=${{ secrets.VERCEL_TOKEN }} \
172+ --build-env ENABLE_EXPERIMENTAL_COREPACK=1)
172173 elif [ -n "$CMS_URL" ]; then
173174 # Preview with CMS preview URL and bypass secret for Vercel Authentication
174175 DEPLOYMENT_URL=$(vercel deploy --yes --token=${{ secrets.VERCEL_TOKEN }} \
176+ --build-env ENABLE_EXPERIMENTAL_COREPACK=1 \
175177 --build-env CMS_URL=$CMS_URL \
176178 --build-env CMS_VERCEL_AUTOMATION_BYPASS_SECRET=${{ secrets.CMS_VERCEL_AUTOMATION_BYPASS_SECRET }} \
177179 --env CMS_URL=$CMS_URL \
178180 --env CMS_VERCEL_AUTOMATION_BYPASS_SECRET=${{ secrets.CMS_VERCEL_AUTOMATION_BYPASS_SECRET }})
179181 else
180182 # Preview without CMS override (uses production CMS from Vercel env vars)
181183 echo "CMS deployment skipped, using production CMS from Vercel env vars"
182- DEPLOYMENT_URL=$(vercel deploy --yes --token=${{ secrets.VERCEL_TOKEN }})
184+ DEPLOYMENT_URL=$(vercel deploy --yes --token=${{ secrets.VERCEL_TOKEN }} \
185+ --build-env ENABLE_EXPERIMENTAL_COREPACK=1)
183186 fi
184187 echo "deployment_url=$DEPLOYMENT_URL" >> $GITHUB_OUTPUT
185188 env :
You can’t perform that action at this time.
0 commit comments