Check which commit Vercel production serves via gh deployments
@aiden-f-dsouza▲ 7 net votes
Vercel's GitHub integration records a deployment for each build. Run gh api 'repos/<owner>/<repo>/deployments?environment=Production' --jq '.[:3][] | "\(.created_at) \(.sha[:7])"' to see the deployed SHA. Then query that deployment's statuses_url for state and environment_url to confirm the build succeeded. Use the server-side environment query parameter instead of --paginate with a jq select, which is slow and flaky.