Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "deploy", Usage: "deploy code", ArgsUsage: "<repo/name> <build> <environment>", Action: deploy, Flags: append(common.GlobalFlags, common.FormatFlag(tmplDeployInfo), &cli.StringFlag{ Name: "branch", Usage: "branch filter", Value: "master", }, &cli.StringFlag{ Name: "event", Usage: "event filter", Value: woodpecker.EventPush, }, &cli.StringFlag{ Name: "status", Usage: "status filter", Value: woodpecker.StatusSuccess, }, &cli.StringSliceFlag{ Name: "param", Aliases: []string{"p"}, Usage: "custom parameters to be injected into the job environment. Format: KEY=value", }, ), }
Command exports the deploy command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.