Zeitgeist
Zeitgeist copied to clipboard
Add “Promote to Production” feature
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:
{
"name":"de-gifs-client",
"gitSource":{
"ref":"dependabot/npm_and_yarn/next-12.3.1",
"repoId":226575636,
"sha":"b6c5d5fbf8496c4b7c281b978b5709094448ce26",
"type":"github",
"prId":null
},
"target":"production"
}