技能标识:ship
Static hosting via ShipStatic. Use when the user wants to deploy a website, upload files, manage deployments, set up domains, or publish static files to shipstatic.com.
需要 Node.js >= 20。
bash
npm install -g @shipstatic/ship
bash
ship config
根据提示输入你的 API 密钥。可在 https://my.shipstatic.com/settings 获取。
备选方案:设置 SHIPAPIKEY 环境变量,或在每条命令后添加 --api-key 参数。
bash
ship ./dist
ship ./dist --label production --label v1.0
ship ./dist --json # 返回 {deployment:
bash
内部域名(my-site.shipstatic.com)免费且即时生效。自定义域名需要配置 DNS — CLI 会打印所需记录。
不支持根域名。 请始终使用子域名:www.example.com,而非 example.com。
bash
bash
在任何命令后添加 --json 可获取机器可读的输出。
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 shipstatic-1776085339 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 shipstatic-1776085339 技能
skillhub install shipstatic-1776085339
文件大小: 441.3 KB | 发布时间: 2026-4-14 11:12