dcloud ci environments list

List a repository’s environments and their protection rules

IAM ci:ListEnvironmentsRead

A workflow that names an environment (`environment: production`) creates it without rules, as on GitHub (`createdByWorkflow`).

Synopsis

dcloud ci environments list repoId

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

Example

dcloud ci environments list repoId

Generated from the API description, the same one the API checks requests against and the CLI is built from.