AgentSkillsCN

agentuity-cli-cloud-deploy

将项目部署到 Agentuity Cloud。需要认证。用于 Agentuity 云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-deploy
description: Deploy project to the Agentuity Cloud. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.2"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity cloud deploy"
  tags: "mutating creates-resource slow api-intensive requires-auth requires-project"

Cloud Deploy

Deploy project to the Agentuity Cloud

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)
  • auth login

Usage

bash
agentuity cloud deploy [options]

Options

OptionTypeRequiredDefaultDescription
--logsUrlstringYes-The url to the CI build logs
--triggerstringNo"cli"The trigger that caused the build
--commitUrlstringYes-The url to the CI commit
--messagestringYes-The message to associate with this deployment
--commitstringYes-The commit SHA for this deployment
--branchstringYes-The git branch for this deployment
--providerstringYes-The CI provider name (attempts to autodetect)
--repostringYes-The repo url
--eventstringNo"manual"The event that triggered the deployment
--pullRequestNumbernumberYes-the pull request number
--pullRequestUrlstringYes-the pull request url
--reportFilestringYes-file path to save build report JSON with errors, warnings, and diagnostics
--childModebooleanNofalseInternal: run as forked child process

Examples

Deploy current project:

bash
bunx @agentuity/cli cloud deploy

Deploy with verbose output:

bash
bunx @agentuity/cli cloud deploy --log-level=debug

Output

Returns JSON object:

json
{
  "success": "boolean",
  "deploymentId": "string",
  "projectId": "string",
  "logs": "array",
  "urls": "object"
}
FieldTypeDescription
successbooleanWhether deployment succeeded
deploymentIdstringDeployment ID
projectIdstringProject ID
logsarrayThe deployment startup logs
urlsobjectDeployment URLs