mirror of
https://codeberg.org/woodpecker-plugins/go-plugin.git
synced 2024-09-07 19:29:12 +02:00
Add Forgejo forge type constant (#27)
Reviewed-on: https://codeberg.org/woodpecker-plugins/go-plugin/pulls/27 Co-authored-by: Lauris BH <lauris@nix.lv> Co-committed-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
212153caee
commit
7ea01d1b3b
3
forge.go
3
forge.go
@ -20,6 +20,7 @@ import (
|
||||
|
||||
const (
|
||||
ForgeTypeGitea = "gitea"
|
||||
ForgeTypeForgejo = "forgejo"
|
||||
ForgeTypeGitHub = "github"
|
||||
ForgeTypeGitLab = "gitlab"
|
||||
ForgeTypeBitbucket = "bitbucket"
|
||||
@ -38,7 +39,7 @@ func forgeFlags() []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "forge.type",
|
||||
Usage: "forge type (gitea, github, gitlab, bitbucket)",
|
||||
Usage: "forge type (gitea, forgejo, github, gitlab, bitbucket)",
|
||||
EnvVars: []string{
|
||||
"CI_FORGE_TYPE",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user