Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

deploy

A Claude Code plugin for deploying your project to Vercel, Railway, Fly.io, or Render — without leaving your editor.

Auto-detects your framework and deployment platform, runs preflight checks, handles preview and production deployments, and rolls back safely.

Install

/plugin install deploy@mturac

Commands

CommandDescription
/deployAuto-detect platform and deploy preview
/deploy-previewDeploy a preview/staging version
/deploy-productionDeploy to production (requires confirmation)
/deploy-rollbackRoll back to the previous deployment
/deploy-statusCheck recent deployment status

Supported Platforms

PlatformConfig file detectedCLI required
Vercelvercel.json, .vercel/vercel
Railwayrailway.json, railway.tomlrailway
Fly.iofly.toml, .fly/flyctl
Renderrender.yaml, render.ymlNone (git-based)

Framework Detection

Automatically detects: Next.js, Nuxt, SvelteKit, Remix, Astro, Vite, Create React App, Express, Fastify, Hono, Python/FastAPI, Go, and static HTML.

How it works

  1. /deploy runs platform detection — identifies your framework, build command, output directory, and target platform
  2. Checks CLI is installed and authenticated
  3. Runs a preview deploy first
  4. You review the preview URL, then confirm production deploy
  5. Rollback checks for DB migrations before proceeding — warns if migrations are present

Environment Variables

The plugin guides you through setting env vars on each platform:

  • Vercel: vercel env add NAME production
  • Railway: railway variables set NAME=value
  • Fly.io: fly secrets set NAME=value

Example

You: /deploy
Claude: 🔍 Detected: Next.js + Vercel (vercel.json found)
Build: npm run build → .next
CLI: vercel ✅ authenticated
Running preview deploy...
✅ Preview: https://my-app-abc123.vercel.app
Review it and say "deploy to production" when ready.
You: deploy to production
Claude: 🚀 Deployed to production: https://my-app.vercel.app

About

Claude Code plugin: deploy to Vercel, Railway, Fly.io, and Render directly from your editor

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages