How do we mimic vercel redeploy?
Unanswered
Sloth bear posted this in #help-forum
Sloth bearOP
I wanted to mimic how the vercel redeploy in dashboard ui via vercel api. I have the following url
https://api.vercel.com/v13/deployments?forceNew=1&skipAutoDetectionConfirmation=1&teamId={{TEAMID}}
with the following raw json data in the body
{
"name": "lkjlkjljsdfsdf",
"deploymentId": "dpl_ljljljljklllllllllllllllllll"
}
The problem that I am facing is that the newly created deployment is cancelled by our ignore build step but if I do the redploy in vercel ui it doesn't cancel the redploy.
Can anyone point me what am I missing in my request?
Thanks
https://api.vercel.com/v13/deployments?forceNew=1&skipAutoDetectionConfirmation=1&teamId={{TEAMID}}
with the following raw json data in the body
{
"name": "lkjlkjljsdfsdf",
"deploymentId": "dpl_ljljljljklllllllllllllllllll"
}
The problem that I am facing is that the newly created deployment is cancelled by our ignore build step but if I do the redploy in vercel ui it doesn't cancel the redploy.
Can anyone point me what am I missing in my request?
Thanks
1 Reply
What is your ignore build step