You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add migration guide section to README documenting the transition
from CLI-based to API-based deployment introduced in #325.
Includes vercel-args to API inputs mapping table, step-by-step
migration instructions, and deprecated inputs reference.
Copy file name to clipboardExpand all lines: README.md
+81Lines changed: 81 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -360,6 +360,87 @@ The deployment lifecycle:
360
360
361
361
> **Note:** GitHub Deployment errors are non-blocking. If the GitHub API call fails, the Vercel deployment will still proceed normally.
362
362
363
+
## Migration to API-based Deployment (v42.2.0+)
364
+
365
+
Starting with v42.2.0, this action uses the `@vercel/client` API by default instead of the Vercel CLI. This is **not a breaking change** — existing workflows using `vercel-args` will continue to work via CLI fallback.
366
+
367
+
### What changed
368
+
369
+
| Before (CLI via `vercel-args`) | After (API inputs) |
If you prefer to stay on CLI-based deployment, simply keep using `vercel-args`. The action will automatically use the CLI client when `vercel-args` is provided:
0 commit comments