Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.21 KB

kam_webhook_create.md

File metadata and controls

36 lines (24 loc) · 1.21 KB

kam webhook create

Create a new webhook.

Synopsis

Create a new Git repository webhook that triggers CI/CD pipeline runs.

kam webhook create [flags]

Examples

  # Create a new Git repository webhook.
  # Example: kam webhook create --git-host-access-token <git host access token> --env-name dev --service-name taxi
  
  kam webhook create

Options

      --cicd                           Provide this flag if the target Git repository is a CI/CD configuration repository
      --env-name string                Provide environment name if the target Git repository is a service's source repository.
      --git-host-access-token string   Access token to be used to create Git repository webhook. Access token is encrypted and stored on local file system by keyring, will be updated/reused.
  -h, --help                           help for create
      --pipelines-folder string        Folder path to retrieve manifest, eg. /test where manifest exists at /test/pipelines.yaml (default ".")
      --service-name string            Provide service name if the target Git repository is a service's source repository.

SEE ALSO