This Membrane driver lets you interact with the Vercel API via your Membrane graph.
mctl action 'vercel:configure(token:"<AccessToken>"'
Get projects
mctl query 'vercel:projects.page.items' '{ id name framework }'
[
{
"id": "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "site-prod",
"framework": "nextjs"
},
{
"id": "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "bot-page",
"framework": "nextjs"
},
{
"id": "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "personal-site",
"framework": "nextjs"
},
...
]
Promote deployment to Production
mctl action 'vercel:deployments.one(idOrUrl:"dpl_G2hcxx3mppABtomgwTB9ornkCUDs").promoteToProduction'