environment webhook create github
Create and configure a GitHub webhook for the environment
codepipes environment webhook create github
Create and configure a GitHub webhook for the environment
Synopsis
Create and configure a GitHub webhook for the environment
The required parameter GitTriggerEvent is one of:
branch:
pushToBranch:
pr:
pullReq:
tag:
pushToTag:
codepipes environment webhook create github [GitTriggerEvent] [flags]
Options
-a, --action string Action to trigger (validate, deploy, destroy) (default "validate")
--env string Environment ID
Options inherited from parent commands
--config string Config file (default is $HOME/.codepipes.yml)
-D, --debug Turn on debug mode
--endpoint string Endpoint where Code Pipes APIs are running (e.g. api.codepipes.io)
--help Show help for command
--org string Organization ID
--proj string Project ID
--sslmode Use https instead of http when calling the API endpoint. Use --sslmode=false to use http. (default true)
--webapp string Endpoint for Code Pipes web application. If not set, is determined by replacing 'api' prefix on endpoint flag with 'dash'
SEE ALSO
- codepipes environment webhook create - Subcommands for creating and configuring webhooks
Updated about 1 year ago