dcloud git repositories update-mirror

Change a mirror's interval, the minute poll, or shadow CI

IAM git:UpdateRepositoryChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud git repositories update-mirror repoId [flags]

Arguments

  • <repoId>Required

    string

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

Flags

  • --interval-minutesOptional

    number

    Minutes between full fetches

    Constraints: integer, 5-1440

  • --continuousOptional

    boolean (--continuous / --no-continuous)

    Check the source every minute (git ls-remote) and fetch when a ref moved

  • --shadow-ciOptional

    object

    Run the source workflows here on mirrored pushes to compare: no secrets, no deploy or publish jobs

    Constraints: JSON

Example

dcloud git repositories update-mirror repoId

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