skills/tier2-automation/deployment-automation/SKILL.md
One-command deployment to Vercel, Railway, Netlify, and Heroku
npx skillsauth add abcnuts/manus-skills deployment-automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
One-command deployment to Vercel, Railway, Netlify, and Heroku
Automate deployments to popular hosting platforms with a single command. Detects platform configuration, installs required CLIs, and handles deployment workflow automatically.
Time Saved: ~30 minutes per deployment
Complexity: Medium
Prerequisites: Node.js, npm, git
python3 /home/ubuntu/skills/deployment-automation/scripts/deploy.py /path/to/project
python3 /home/ubuntu/skills/deployment-automation/scripts/deploy.py /path/to/project --preview
vercel.json, railway.toml, netlify.toml, Procfilepackage.json for custom deploy scripts# Project has vercel.json
python3 /home/ubuntu/skills/deployment-automation/scripts/deploy.py ~/my-nextjs-app
# Output:
# 📁 Project: /home/ubuntu/my-nextjs-app
# 🎯 Mode: Production
# ✅ Detected platforms: vercel
# 🚀 Deploying to Vercel...
# ✅ Deployment successful!
# Project has railway.toml
python3 /home/ubuntu/skills/deployment-automation/scripts/deploy.py ~/my-fullstack-app
# Output:
# 📁 Project: /home/ubuntu/my-fullstack-app
# 🎯 Mode: Production
# ✅ Detected platforms: railway
# 🚀 Deploying to Railway...
# ✅ Deployment successful!
# Deploy to preview/staging environment
python3 /home/ubuntu/skills/deployment-automation/scripts/deploy.py ~/my-app --preview
# Output:
# 📁 Project: /home/ubuntu/my-app
# 🎯 Mode: Preview
# ✅ Detected platforms: vercel
# 🚀 Deploying to Vercel...
# ✅ Deployment successful!
vercel.json)Use template: /home/ubuntu/skills/deployment-automation/templates/vercel.json
{
"version": 2,
"name": "my-project",
"builds": [
{
"src": "package.json",
"use": "@vercel/next"
}
],
"env": {
"DATABASE_URL": "@database_url"
}
}
railway.toml)Use template: /home/ubuntu/skills/deployment-automation/templates/railway.toml
[build]
builder = "NIXPACKS"
buildCommand = "npm run build"
[deploy]
startCommand = "npm start"
Choose Vercel If:
Choose Railway If:
Choose Netlify If:
Choose Heroku If:
Vercel:
vercel env add DATABASE_URL
vercel env pull
Railway:
railway variables set DATABASE_URL=postgres://...
railway variables
Netlify:
netlify env:set DATABASE_URL postgres://...
netlify env:list
Heroku:
heroku config:set DATABASE_URL=postgres://...
heroku config
package.jsonnpm run buildScript will prompt to install automatically:
⚠️ vercel CLI not installed
Install vercel CLI? (y/n): y
📦 Installing vercel CLI...
# Vercel
vercel login
# Railway
railway login
# Netlify
netlify login
# Heroku
heroku login
Test Locally First
npm run build
npm start
Use Preview Deployments
deploy.py /path/to/project --preview
Set Up Health Checks
// pages/api/health.js
export default function handler(req, res) {
res.status(200).json({ status: 'ok' });
}
Monitor Logs
vercel logs
railway logs
netlify logs
heroku logs --tail
Version Control
git tag v1.0.0
git push --tags
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy
run: |
python3 skills/deployment-automation/scripts/deploy.py .
If project has "deploy" script in package.json:
{
"scripts": {
"deploy": "custom-deploy-command"
}
}
The skill will detect and use it automatically.
If multiple platforms detected, first one is used:
✅ Detected platforms: vercel, netlify
🚀 Deploying to Vercel...
To use different platform, remove unwanted config files.
scripts/deploy.py - Main deployment automation scripttemplates/vercel.json - Vercel configuration templatetemplates/railway.toml - Railway configuration templatereferences/platforms.md - Complete platform comparison and guide1. User runs deploy.py with project path
2. Script detects platform (vercel.json, railway.toml, etc.)
3. Script checks if CLI installed
4. Script prompts to install if missing
5. Script runs deployment command
6. Script reports success/failure
✅ Platform detected automatically
✅ CLI installed if needed
✅ Deployment succeeds
✅ URL returned
✅ Logs accessible
Manual Deployment: ~30 minutes
With This Skill: ~2 minutes
Savings: ~28 minutes per deployment
Created: February 10, 2026
Status: Production Ready
Tested: Vercel, Railway, Netlify, Heroku
tools
Generate comprehensive demonstrations showing how to access projects and work across different environments (Manus terminals, personal computers, team collaboration). Use when users ask "how do I access this from another terminal/computer", "how do I share this with my team", "how do I get this on my Mac", or need clarification on Manus persistence vs GitHub usage.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
Use when implementing any feature or bugfix, before writing implementation code