← 返回
未分类 Key 中文

byted-bp-cdn-pagesdeploy

One-click deployment of static websites to BytePlus / VolcEngine Edge Pages platform, supporting auto project creation, update deployment, custom domain bind...
一键部署静态网站至 BytePlus/火山引擎边缘页面平台,支持自动创建项目、更新部署、自定义域名绑定...
fanyao00-cloud fanyao00-cloud 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 285
下载
💾 0
安装
1
版本
#latest

概述

Pages Deploy Skill

Overview

One-click deployment of static website code to BytePlus / VolcEngine Edge Pages platform. Designed for use in Coding Agents (Cursor, Claude Code, Trae, etc.) to quickly complete hosting, building, and CDN integration after generating static web pages.

Use Cases

  • Deploy static web code generated by Coding Agent
  • Deploy local static sites to global CDN
  • Bind custom domains to deployed sites
  • Iteratively update existing Pages projects

Prerequisites

  1. AK/SK Configuration: Requires BytePlus / VolcEngine Access Key and Secret Key
    • Mira client: Stored in secrets/byteplus.json, format: {"access_key": "xxx", "secret_key": "xxx"}
    • Manual config: nest config set -g cloud.access_key YOUR_AK && nest config set -g cloud.secret_key YOUR_SK
  2. Static site directory: A directory containing index.html

CLI Commands

Full Deployment (Auto-detects create vs. update)

# Auto-detect: creates project if not exists, updates deployment if exists
bash /path/to/scripts/deploy.sh --name my-site --dir ./dist

# Specify description and acceleration region
bash /path/to/scripts/deploy.sh --name my-site --dir ./dist --desc "AI generated site" --region global

# Bind custom domain
bash /path/to/scripts/deploy.sh --name my-site --dir ./dist --domain www.example.com

Parameters

ParameterRequiredDescription
----------------------------------
--nameYesPages project name
--dirYesStatic site resource directory (must contain index.html)
--descNoProject description
--regionNoAcceleration region: global / chinese_mainland / outside_chinese_mainland
--domainNoCustom domain
--build-cmdNoBuild command to run before deployment (e.g. npm run build)
--secrets-fileNoAK/SK config file path (default: secrets/byteplus.json)

Other Operations

# List projects
bash /path/to/scripts/manage.sh list

# Show project details
bash /path/to/scripts/manage.sh get --pages p-xxx

# Show deployment history
bash /path/to/scripts/manage.sh deployments --pages p-xxx

# Local preview
bash /path/to/scripts/manage.sh serve --dir ./dist --port 8080

# Domain management
bash /path/to/scripts/manage.sh domain-list --pages p-xxx
bash /path/to/scripts/manage.sh domain-add --pages p-xxx --domain www.example.com
bash /path/to/scripts/manage.sh domain-verify --pages p-xxx --domain www.example.com

# Offline / Delete
bash /path/to/scripts/manage.sh offline --pages p-xxx
bash /path/to/scripts/manage.sh delete --pages p-xxx

Complete Workflow

Step 0: Environment Setup (one-time) → Install CLI + Configure AK/SK
Step 1: Coding Agent generates code → ./my-site/
Step 2: Local preview → nest pages serve ./my-site
Step 3: Deploy → deploy.sh --name xxx --dir ./my-site
Step 4: Check domain → manage.sh get --pages p-xxx
Step 5: Bind domain → deploy.sh --name xxx --dir ./my-site --domain www.example.com
Step 6: Iterative update → deploy.sh --name xxx --dir ./my-site
Step 7: Manage → manage.sh list / deployments / offline

Notes

  • China mainland production does not provide a default domain; a custom domain must be bound for access
  • CLI package name is @byteplus/nest (not @byted/nest)
  • CDN propagation takes 1-5 minutes after deployment
  • Custom domains require adding a CNAME record at your DNS provider

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-21 14:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,709
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,501
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,010