Closed Nexushunter closed 11 months ago
Hi @Nexushunter, thanks for raising this. From a quick glance it's definitely not something you're doing wrong - our service shouldn't be returning an internal server error for you.
I'll have a go at reproducing this and get back to you. Apologies in advance if this takes me a few days - things are very busy at the moment! :)
Thanks for getting back so quick! No problem, I can still use the app to deploy until then!
Hi @Nexushunter - it seems like I'm unable to reproduce this, but I think the issue is related to your Github access.
Internally, this is the error that is occurring:
Error: GitHub fetch error - status: 403, message: {"message":"This installation has been suspended","documentation_url":"https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app"}
Is your Vercel Account definitely linked to your Github account? And does the Vercel Github App show up in your Github account settings?
I recently removed it. When I use terraform from CI + have the app installed I get double deploys.
I was following https://vercel.com/guides/integrating-terraform-with-vercel#deploy-directly-through-terraform to set up just terraform deploys. Am I misunderstanding the docs?
Right, Vercel still needs the Github connection or it isn't able to read any data from Github. Your project is specifically linked to the Nexushunter/nexushunterdev
repository.
If you're creating a deployment by using the vercel_project_directory
and vercel_deployment
resources, then you may not want to link your Vercel Project to a Github repository at all.
Alternatively, you can set github.enable
to false
inside a vercel.json
file. This will prevent deployments from happening automatically whenever changes are pushed. source.
Hope this clears things up for you 🙏
Hey 👋🏻 I'm trying to deploy to vercel via GHA. I'm looking for some guidance into what I'm doing wrong.
My
main.tf
looks like:Variables file:
Trace logs: