Workflow Detail
Deploy Next.js App
Deploy frontend app and attach runtime env + domain.
Overview
3 steps~30 mindeploynextjsfrontend
Required env vars: VERCEL_TOKEN, NETLIFY_AUTH_TOKEN, RAILWAY_TOKEN
Auth needed for: Vercel CLI, Netlify CLI, Railway CLI
Step By Step
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'
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
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