Turborepo deployment to Vercel using vercel CLI #10322
Unanswered
iambryancs
asked this question in
Help
Replies: 1 comment
-
I've been working through something similar. I tried using What does seem to work well is using This article was helpful for me if you haven't seen it yet: https://vercel.com/guides/how-can-i-use-github-actions-with-vercel |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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