Deploy Replit integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Replit-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy replit", "replit Vercel", "replit production deploy", "replit Cloud Run", "replit Fly.io".
From replit-packnpx claudepluginhub nickloveinvesting/nick-love-plugins --plugin replit-packThis skill is limited to using the following tools:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
Deploy applications on Replit's hosting platform. Covers Replit Deployments (Static, Autoscale, Reserved VM), configuring .replit files, managing secrets, and setting up custom domains.
# .replit
run = "npm start"
entrypoint = "index.js"
[deployment]
run = ["sh", "-c", "npm start"]
deploymentTarget = "autoscale"
[nix]
channel = "stable-24_05"
[env]
NODE_ENV = "production"
PORT = "3000" # 3000: 3 seconds in ms
1. Open your Repl in Replit
2. Click the lock icon (Secrets) in the sidebar
3. Add each secret:
- Key: API_KEY, Value: your-api-key
- Key: DATABASE_URL, Value: your-db-url
# Or via Replit CLI
replit secrets set API_KEY "your-api-key"
replit secrets set DATABASE_URL "your-db-url"
1. Click "Deploy" button in the Replit editor
2. Choose deployment type:
- **Static**: For frontend-only apps (free)
- **Autoscale**: Scales to zero, pay per request
- **Reserved VM**: Always-on, fixed monthly cost
3. Configure machine size (0.25 - 8 vCPU)
4. Click "Deploy"
1. Go to Deployment settings > Custom Domain
2. Enter your domain: app.example.com
3. Add DNS records:
- CNAME: app -> your-repl.replit.app
4. Wait for SSL certificate provisioning
// health.ts
export async function GET() {
return Response.json({
status: "healthy",
environment: process.env.REPL_SLUG,
region: process.env.REPLIT_DEPLOYMENT_REGION,
timestamp: new Date().toISOString(),
});
}
| Issue | Cause | Solution |
|---|---|---|
| Deploy fails | Build error | Check console logs in Replit |
| Port mismatch | Wrong PORT | Use process.env.PORT or 3000 |
| Cold start slow | Autoscale spin-up | Use Reserved VM for latency-sensitive apps |
| Secret not found | Not set in Secrets | Add secret via Replit sidebar |
set -euo pipefail
# Install Replit CLI
npm install -g replit
# Deploy current repl
replit deploy --type autoscale
For multi-environment setup, see replit-multi-env-setup.