dcloud deploy previews create

Make or redeploy the preview of a branch now

IAM deploy:CreatePreviewChanges state

Synopsis

dcloud deploy previews create id --branch branch [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --branchRequired

    string

    The branch to preview

    Constraints: 1-255 chars

  • --pr-numberOptional

    number

    An open pull request from that branch, so the preview is torn down with it

    Constraints: integer, min 1

Example

dcloud deploy previews create id --branch example

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