Skip to main content

Status

The workflow deploy command is not currently implemented in the CLI.

Alternative Deployment Methods

Vercel

Use the Vercel CLI or Git integration:
# Using Vercel CLI
vercel deploy

# Or push to Git (with Vercel integration)
git push
Ensure your framework integration is configured:
  • Next.js: Use withWorkflow() in next.config.js
  • Nuxt: Add @workflow/nuxt module
  • Astro: Add @workflow/astro integration
  • SvelteKit: Import and use @workflow/sveltekit
  • Nitro: Add @workflow/nitro module

Manual Build and Deploy

  1. Build workflows:
workflow build --target vercel-build-output-api
  1. Deploy using your platform’s CLI:
# Vercel
vercel deploy --prebuilt

# Other platforms
# Follow platform-specific deployment instructions

Framework-Specific Deployment

Next.js on Vercel

npm run build
vercel deploy

Nuxt on Vercel

npm run build
vercel deploy

Standalone Deployment

# Build workflows
workflow build --target standalone

# Build your application
npm run build

# Deploy to your hosting provider
# (Copy build output to server)

Planned Features

A future workflow deploy command may include:
  • Direct deployment to Vercel
  • Deployment to other platforms
  • Environment variable management
  • Deployment previews
  • Rollback capabilities

Current Recommendation

Use your framework’s standard deployment process. Workflow bundles are automatically built and included during the framework’s build process. For Vercel deployments, the workflow integrations automatically:
  1. Detect Vercel environment
  2. Build appropriate bundles
  3. Configure serverless functions
  4. Set up routes
No separate deployment command is needed.

Build docs developers (and LLMs) love