Turborepo deployment to Vercel using vercel CLI #10322
Unanswered
iambryancs
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Have anyone tried deploying a turborepo consisting of two apps (nextjs, hono) to vercel using the cli? It's easy to deploy when using git repositories with built-in integration to Vercel but for other repositories, we have to use the cli.
Here's what I did so far:
Here's my directory setup:
Running
vercel
with--cwd=apps/client
doesn't seem to take into account the root directory of the turborepo as I'm getting. Inspecting the source in Vercel dashboard only shows the contents ofapps/client
which is why the error shows.I understand that a vercel project has to be created/present in each apps but that somehow causes the root turborepo to be ignored? If I create a vercel project in the root of the turborepo it works but only 1 app is deployed.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions