Next.js Discord

Discord Forum

Selecting project with Vercel CLI on mono repo with multiple projects associated

Unanswered
Pacific thread herring posted this in #help-forum
Open in Discord
Pacific thread herringOP
I have a monorepo that is used to host multiple apps out. I'm trying to set up a workflow on Github Actions where I fetch env vars using vercel pull . I have used to vercel link --repo to set up all of the projects I have associated, so if I run vercel pull locally I get a nice list of options where I can pick the relevant project, but this won't work as a script running remotely. I can't find anything in the docs about being able to specify which project to pull from, but I experimented with running vercel pull --project ABC which did not work.

Can anyone help me clarify how it might be possible to specify the project?

0 Replies