ci: only declare a Vercel deploy target for webpack runs without a custom script (#100479)
## Summary `test_e2e_deploy_release.yml` can be dispatched with a custom deploy script to run the deploy suite against another platform's adapter. The webpack job still set `NEXT_TEST_DEPLOY_TARGET_VERCEL=1` in that case, so tests gated on the `vercel` condition from #99837 ran against the other platform instead of being skipped. The webpack job now sets it only when no custom deploy script is given, as the Turbopack job already does. The adapter job is unchanged: it doesn't accept custom scripts, so it always deploys to Vercel. ## Verification - The webpack and Turbopack jobs now use the same `NEXT_TEST_DEPLOY_TARGET_VERCEL` expression, and the workflow still parses. - Not run: a dispatched `test-e2e-deploy-release` run (`workflow_dispatch` only). <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment