mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-22 00:20:38 +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{
|
||||
@ -56,8 +57,7 @@ func pipelineFlags(category string) []cli.Flag {
|
||||
&cli.StringFlag{
|
||||
Name: "pipeline.url",
|
||||
Usage: "pipeline url",
|
||||
// TODO: Revert after https://github.com/woodpecker-ci/woodpecker/issues/2219
|
||||
// EnvVars: []string{"CI_PIPELINE_URL"},
|
||||
EnvVars: []string{"CI_PIPELINE_URL"},
|
||||
Category: category,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
|
Loading…
Reference in New Issue
Block a user