Deployment issues?

Hi there. I was just wondering if anyone is experiencing Github commits not being deployed automatically since last night? My first three deployments worked fine, but after that Vercel is not picking up the latest commit.

There’s nothing in comments or logs anywhere to suggest why - it just seems not to be registering it.

I have tried:

  • Going through this Vercel documentation
  • Checking my Github email address
  • Re-authenticating my Github connection
  • Confirming that commits are present in Github and on the correct brand (main)
  • Creating a vercel.json to explicitly tell Vercel to deploy my main branch
  • Ensuring I am the owner of my Vercel project (commits deployed in the past just fine)
  • Running ‘next build’ locally to ensure my code compiles just fine

Does anyone have any other suggestions?

For context:

  • My repo in Github is a private repo (this hasn’t stopped it deploying in the past)
  • My Vercel account is a free one (I believe this is called ‘Hobby’)
1 Like

Hello @metricmogul :wave: You’ve gone through quite a bit of effort to troubleshoot the deployment issue on your end – would you mind raising a support case so we can investigate this further?

We look forward to hearing from you!

Thanks for sharing the things you already checked! I have one more idea.

Sometimes this kind of problem is caused by a configuration error that makes the build fail before it even starts. There might be an error noted on the commit on GitHub, but you can also get more details with the CLI. You can run the vercel build command and it’ll output error info if something is wrong with the build. You can also use the CLI to start a new deployment.

Thank you both for the responses. I’ll try both of these tomorrow morning and let you know. It’s good to know I can deploy via the CLI as a backup.

1 Like

Just a quick update.

  • I used the command line to build with no errors, and then push that to Vercel. I hadn’t realised it was possible to do this so thank you @amyegan for letting me know that was possible, much appreciated. The deployment worked successfully.
  • I’ve opened a Support Ticket regarding commits to Git not being deployed automatically. I re-tested a commit this morning and still no joy. I wasn’t sure what information to add to the support ticket so I linked them to this thread.

Thanks again for your rapid support. I love the team at Vercel and the platform you offer!

1 Like

Hi,

Could you confirm if this settings are intact : Why aren't commits triggering deployments on Vercel? ? Could you also share an affected commit SHA which we can take a closer look?

1 Like

Hi swarnava. Please see my first message above where I list out what I have tried.

Where do I find the commit SHA?

Hi,

You can review this instruction here to find commit SHA of your deployment: About commits - GitHub Docs

Ah I see, it’s the commit number. Here’s an example commit ID: 82193a1. This is one I commited about 5 minutes ago but has not been deployed automatically.

I will push it manually now using the process described above.

Can you share the full commit SHA? it usually contains 40 characters.