N
Neon2y ago
fair-rose

Vercel build: Neon branching · Status not available

Hey, I'm trying to set up the Vercel + Neon integration. I followed this tutorial: https://neon.tech/blog/branching-with-preview-environments. I already have the integration setup on Vercel and the branch creation is working. Still, the GitHub Action always fails when deploying the project artifacts to Vercel on the running checks with Neon branching · Status not available. This is the PR where I'm working on https://github.com/betoSolares/startpage/pull/18
Neon
A database for every preview environment using Neon, GitHub Actions...
Learn how to create a Neon branch for every preview environment using Neon, GitHub Actions, and Vercel.
GitHub
Database Set Up by betoSolares · Pull Request #18 · betoSolares/sta...
Setup the database to run locally using docker and production and previews with neon
No description
8 Replies
foreign-sapphire
foreign-sapphire2y ago
If you’re using the Neon Vercel integration there’s no need to call create branch from GitHub actions. The integration creates a preview branch for each PR (assuming that’s what you want to achieve). What is that screenshot from, GitHub or Vercel?
fair-rose
fair-roseOP2y ago
I'm not using the Vercel auto deploy feature, on new PR I use a GitHub Action to make a Preview Deployment. This is what I get on GitHub and Vercel.
No description
No description
fair-rose
fair-roseOP2y ago
Thanks, that makes it work, I didn't realize that was one or the other.
foreign-sapphire
foreign-sapphire2y ago
Gotcha. Are you using the Neon integration in Vercel? Where is that "Check" coming from? Ahh good.
fair-rose
fair-roseOP2y ago
I was using the Neon integration and the GitHub Action, they issue was on the GitHub deploying the artifact to Vercel, then I introspect the deploy on Vercel where I was having Neon branching not available
generous-apricot
generous-apricot2y ago
Got the same issue by running “vercel deploy” on local to trigger a preview deployment, I can see that the branch is created on Neon, but Vercel failed the get the creation status. It pretty much break my preview deployment, can’t really find a workaround😕
foreign-sapphire
foreign-sapphire2y ago
@chungweileong does retrying the build succeed? If not maybe we can DM/screenshare so I can better understand what's happening?
generous-apricot
generous-apricot2y ago
@ShinyPokemon When the preview deployment is triggering on Vercek, the deployment will fail because it does not able to get the Neon branching status as shown in the screenshot below. However, one thing I can make sure of is that the preview branch is successfully created on the Neon side.
No description
No description

Did you find this page helpful?