Workflow Detail

Deploy Next.js App

Deploy frontend app and attach runtime env + domain.

3 steps~30 mindeploynextjsfrontend

Required env vars: VERCEL_TOKEN, NETLIFY_AUTH_TOKEN, RAILWAY_TOKEN

Auth needed for: Vercel CLI, Netlify CLI, Railway CLI

Step 1Vercel CLIAuth required

Execute Vercel CLI stage in deploy next.js app workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: VERCEL_TOKEN

vercel deploy

[path] Performs a deployment (default)

vercel build

Build the project locally into './vercel/output'

Step 2Netlify CLIAuth required

Execute Netlify CLI stage in deploy next.js app workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: NETLIFY_AUTH_TOKEN

netlify login

Authenticate Netlify user

netlify link

Link local folder to site

Step 3Railway CLIAuth required

Execute Railway CLI stage in deploy next.js app workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: RAILWAY_TOKEN

railway add

Add a service to your project

railway completion

Generate completion script