amondnet / vercel-action

This action make a deployment with github actions instead of Vercel builder.
https://vercel.com/docs/cli
MIT License
643 stars 100 forks source link

Monorepo support for sending build directly to vercel #231

Closed jakeleventhal closed 1 year ago

jakeleventhal commented 1 year ago

The way to publish a pre-built vercel application is shown in the README like this

{
  "builds": [
    { "src": "{{Source for distribution}}", "use": "@vercel/static" }
  ]
}

There isnt an example for how to deploy a pre-built application if there are multiple applications in the same repo. Currently I am just skipping the build in GH actions and redoing the pnpm install + next build in vercel

fgmamoru commented 1 year ago

you can move the working-directory to the subfolder.

zhenwenc commented 6 months ago

what the {{ Source for distribution }} value suppose to be for NextJS project? .next/**?