Vercel CLI 55:--yes 不再猜測部署目標

Tech
瀏覽 3

--yes 只回答確認問題。存在多個團隊時,必須提供 --team/--scopeVERCEL_ORG_ID,否則以 missing_scope 停止。

Vercel CLI 55:--yes 不再猜測部署目標
CLI 55 要求非互動連結明確指定團隊,協助 CI 與程式代理避免誤部署。

把團隊與專案變成輸入契約

VERCEL_ORG_IDVERCEL_PROJECT_ID 成對設定。token 負責驗證,不應隱式選擇目標。

部署後核對 owner、project、environment 與 commit,並把 missing_scope 視為設定錯誤。

Checklist

Pin team and project together

Treat missing_scope as configuration error

Verify owner, project, environment and commit

Sources