Closed daneden closed 9 months ago
Deployment views should have a “Promote to Production” button, similar to the “Redeploy” button.
On Vercel’s site, the “Promote to Production” button sends a POST request to https://vercel.com/api/v13/deployments with the following (demo) payload:
POST
https://vercel.com/api/v13/deployments
{ "name":"de-gifs-client", "gitSource":{ "ref":"dependabot/npm_and_yarn/next-12.3.1", "repoId":226575636, "sha":"b6c5d5fbf8496c4b7c281b978b5709094448ce26", "type":"github", "prId":null }, "target":"production" }
Deployment views should have a “Promote to Production” button, similar to the “Redeploy” button.
On Vercel’s site, the “Promote to Production” button sends a
POST
request tohttps://vercel.com/api/v13/deployments
with the following (demo) payload: