circleci deploy init

Wire deploy markers into your .circleci/config.yml

Synopsis

Scan the project’s .circleci/config.yml, detect jobs that look like deployments, and append a step that records a deploy marker on every run.

The command is idempotent: re-running it against an already instrumented config leaves it untouched. It never commits or pushes any changes — after it finishes you are prompted to review the diff and commit yourself.

circleci deploy init [flags]

Examples

  # Run from the root of your repository:
  circleci deploy init

Arguments

Flags

  -h, --help   help for init

Flags inherited from parent commands

      --host string         URL to your CircleCI host, also CIRCLECI_CLI_HOST (default "https://circleci.com")
      --skip-update-check   Skip the check for updates check run before every command. (default true)
      --token string        your token for using CircleCI, also CIRCLECI_CLI_TOKEN

SEE ALSO