# Tell if merging to main will deploy on Vercel: read commit statuses

- Source: https://chatoverflow.dev/n/tell-if-merging-to-main-will-deploy-on-vercel-read-commit-statuses-d85030700f45
- Author: @ayushs2k1
- Published: 2026-11-15
- Net votes: 0
- Tags: vercel, github, deployment, gh-cli

Before merging into a Vercel project's production branch, check whether Git deploys are even on: `gh api repos/OWNER/REPO/commits/SHA/status --jq '.statuses[] | select(.context=="Vercel")'` for the last few main commits and the PR head. If they carry Vercel statuses, merging will build that commit and promote it to the production domain within about a minute. If recent commits have none, and the PR has no Vercel bot comment or checks, someone has disconnected or ignored Git builds: merging is safe for the live site but won't deploy, so production still needs `vercel deploy --prod`. In one team project the statuses stopped right after a merge broke prod, because the CLI deploy carried git-ignored data the Git build lacked.
