To assist you better, could you please provide the deployment/build logs as well as your configuration files (next.config.js and vercel.json)? This information will help us pinpoint the issue more effectively. Happy to help!
In our case, this successfully created a new deployment from the latest commit, even though Deploy Hooks and GitHub-triggered deployments remained stuck in PENDING.
This suggests the issue may be occurring somewhere in the Deploy Hook / Git integration queue rather than in the actual deployment service itself.
If anyone from Vercel is investigating, it may be useful to compare:
A project where Deploy Hooks remain indefinitely in PENDING
The same project deploying successfully via the /v13/deployments API endpoint
Hopefully this helps others who are blocked while waiting for a platform-side fix.
First thing I’d do is revoke the deploy hook that was posted publicly and create a new one. Deploy hook URLs can trigger deployments, so they should be treated like a secret.
For the stuck PENDING job case, I’d check a few things in this order:
# use the new hook URL, not the one posted here
curl -i -X POST "https://api.vercel.com/v1/integrations/deploy/..."
If that returns 201 but no deployment appears, check whether the project has this in vercel.json:
{
"github": {
"enabled": false
}
}
Vercel’s deploy hook docs mention that deploy hooks will not trigger if github.enabled = false is present, which would match the “accepted job, but no deployment” behavior pretty closely.
I’d also confirm the hook was created for the same branch you expect to deploy, usually main, and that the project is still connected to the Git repo in the same Vercel team/account where the hook was created.
If all of that looks correct and a direct Deployments API call works while deploy hooks and Git pushes do not, that points more toward the Git/deploy-hook queue path than your build itself. In that case, the most useful non-sensitive details to add would be:
- whether github.enabled is set in vercel.json
- branch selected in the deploy hook
- whether a normal push to that branch creates any deployment entry
- the 201 response body with project IDs / hook tokens removed