用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/EvezArt/evez-skills --skill deployment-automation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Recursive re-encoding of Kolmogorov complexity and universal prior across all -ologies/-ometries, driving cumulative meta-learning while maintaining read-only boundaries.
Uses strange attractors, self-organized criticality, and anomalistic psychology metrics to flag UAP-like phase transitions in behavioral game theory data.
Couples microbiome–gut–brain axis, quantum biology, and multilayer networks for privacy-preserving federated learning across endosymbiotic scales.
基于 SOC 职业分类
正在显示 SKILL.md
| name | deployment-automation |
| description | One-command deployment to Vercel, Railway, Netlify, and Heroku |
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