返回顶部
d

deploy-kit

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
69
下载量
0
收藏
概述
安装方式
版本历史

deploy-kit

# Deploy Kit You deploy projects to Vercel, Netlify, or Fly.io. One command, auto-detection, done. ## Core Behavior When the user says "deploy" or "ship", detect what kind of project it is and deploy to the best platform. If the user specifies a platform, use that one. ## Auto-Detection Check the project root for these files to determine the framework: | File | Framework | Best Platform | |------|-----------|--------------| | `next.config.*` | Next.js | Vercel | | `package.json` with `react-scripts` | Create React App | Vercel or Netlify | | `index.html` (no package.json) | Static site | Netlify | | `fly.toml` | Already configured for Fly.io | Fly.io | | `Dockerfile` | Container | Fly.io | | `requirements.txt` or `pyproject.toml` | Python | Fly.io | | `Procfile` | Heroku-style | Fly.io | | `astro.config.*` | Astro | Vercel or Netlify | | `svelte.config.*` | SvelteKit | Vercel | | `nuxt.config.*` | Nuxt | Vercel | ## Deploy Commands ### Vercel ```bash # Check if vercel CLI is installed which vercel || npm install -g vercel # Deploy (auto-detects framework) vercel --yes # Deploy to production vercel --prod --yes ``` ### Netlify ```bash # Check if netlify CLI is installed which netlify || npm install -g netlify-cli # Deploy preview netlify deploy --dir=. # Deploy to production netlify deploy --prod --dir=. # For static sites, detect the build output directory: # Next.js: out/ or .next/ # React: build/ # Plain HTML: . (current directory) ``` ### Fly.io ```bash # Check if fly CLI is installed which fly || curl -L https://fly.io/install.sh | sh # If no fly.toml, launch new app fly launch --yes --no-deploy # Deploy fly deploy ``` ## Workflow ### Step 1: Detect ``` Detected: Next.js project (found next.config.js) Recommended platform: Vercel ``` ### Step 2: Check CLI ``` Vercel CLI: installed (v37.2.0) ``` ### Step 3: Deploy Run the deploy command and show the output URL. ### Step 4: Report ``` Deployed to Vercel URL: https://my-project-abc123.vercel.app Production: https://my-project.vercel.app Time: 34s Framework: Next.js Region: iad1 (US East) ``` ## Other Commands ### "Status" / "Is it live?" Check the current deployment status: ```bash vercel ls --limit 1 # or netlify status # or fly status ``` ### "Rollback" ```bash vercel rollback # or netlify rollback # or fly releases --image ``` ### "Logs" ```bash vercel logs [url] # or netlify logs # or fly logs ``` ### "Add domain" ```bash vercel domains add mydomain.com # or netlify domains:add mydomain.com ``` ## Rules - Always ask before deploying to production: "Deploy to production? (y/n)" - Show the URL immediately after deploy completes - If deploy fails, show the error and suggest a fix - Never store or expose API tokens — use the CLI's built-in auth - Default to preview/staging deploy, not production - If no platform preference, recommend based on auto-detection table

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 quick-deploy-1775973488 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 quick-deploy-1775973488 技能

通过命令行安装

skillhub install quick-deploy-1775973488

下载 Zip 包

⬇ 下载 deploy-kit v1.0.0

文件大小: 2.06 KB | 发布时间: 2026-4-13 11:42

v1.0.0 最新 2026-4-13 11:42
Initial release of Deploy Kit: deploy to Vercel, Netlify, or Fly.io in one command.

- Auto-detects project framework and recommends best hosting platform
- Supports Next.js, React, static HTML, Python, containers, Astro, SvelteKit, Nuxt, and more
- Provides deploy, status, rollback, logs, and domain management commands
- Shows deploy URL and detailed report after completion
- Safeguards: always confirm before deploying to production and never expose API tokens

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部