用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill web-deploy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | web-deploy |
| description | Web Deploy |
Build and deploy websites, web apps, and APIs to production.
# Static site
npx http-server ./dist -p 8080 -c-1
# Next.js
npm run dev # Development (hot reload)
npm run build && npm run start # Production preview
# FastAPI
uvicorn app.main:app --reload --port 8000
# Vite-based
npm run dev # Dev server
npm run build && npx serve dist # Production preview
# First time setup
npx vercel link
# Preview deployment
npx vercel
# Production deployment
npx vercel --prod
# Environment variables
npx vercel env add SECRET_KEY
Best for: Next.js apps, React SPAs, static sites, serverless functions.
Config: vercel.json (usually not needed for Next.js)
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "nextjs"
}
# First time setup
railway login
railway init
# Deploy
railway up
# Add database
railway add --plugin postgresql
# Environment variables
railway variables set SECRET_KEY=value
# View logs
railway logs
Best for: Backend APIs, databases, long-running processes, Docker containers.
# Using gh-pages package
npm install -D gh-pages
# Add to package.json scripts: "deploy": "gh-pages -d dist"
npm run build && npm run deploy
Best for: Documentation, simple static sites, project pages.
Deploy to ~/clawd/canvas/ for local serving through the clawdbot gateway.
cp -r ./dist/* ~/clawd/canvas/my-project/
npm run build / python -m build).env / secrets NOT in gitrobots.txt and sitemap.xml if public site# Vercel — redeploy previous
npx vercel rollback
# Railway — redeploy previous
railway rollback
# Git-based — revert and push
git revert HEAD && git push
# Vercel
npx vercel domains add mydomain.com
# DNS: Point CNAME to cname.vercel-dns.com
# Or A record to 76.76.21.21