agentuity avatar

agentuity-cli-cloud-deploy

Deploy project to the Agentuity Cloud. Requires authentication. Use for Agentuity cloud platform ope

提供方 agentuity|开源

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

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:

bunx @agentuity/cli cloud deploy

Deploy with verbose output:

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

Output

Returns JSON object:

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