mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-21 14:10:39 +00:00
fix: remove workaround for missing pipeline url (#38)
This commit is contained in:
parent
2e7fbdc855
commit
1e98790015
@ -153,6 +153,7 @@ func currFromContext(c *cli.Context) Commit {
|
||||
}
|
||||
}
|
||||
|
||||
//nolint:dupl
|
||||
func prevFlags(category string) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
|
@ -33,6 +33,7 @@ type Pipeline struct {
|
||||
Parent int64
|
||||
}
|
||||
|
||||
//nolint:dupl
|
||||
func pipelineFlags(category string) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.Int64Flag{
|
||||
@ -54,10 +55,9 @@ func pipelineFlags(category string) []cli.Flag {
|
||||
Category: category,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "pipeline.url",
|
||||
Usage: "pipeline url",
|
||||
// TODO: Revert after https://github.com/woodpecker-ci/woodpecker/issues/2219
|
||||
// EnvVars: []string{"CI_PIPELINE_URL"},
|
||||
Name: "pipeline.url",
|
||||
Usage: "pipeline url",
|
||||
EnvVars: []string{"CI_PIPELINE_URL"},
|
||||
Category: category,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
|
Loading…
Reference in New Issue
Block a user