AgentSkillsCN

agentuity-cli-cloud-deploy

将项目部署至 Agentuity 云平台。需进行身份验证。可用于 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.24"
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
--eventstringNo"manual"The event that triggered the deployment
--pullRequestNumbernumberYes-the pull request number
--pullRequestUrlstringYes-the pull request url
--messagestringYes-The message to associate with this build
--commitstringYes-The git commit SHA
--branchstringYes-The git branch
--repostringYes-The git repo URL
--providerstringYes-The git provider (github, gitlab, bitbucket)
--commitUrlstringYes-The URL to the commit
--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