with another format
This commit is contained in:
parent
e40e7cc88b
commit
4daa687479
@ -7,4 +7,5 @@ select:
|
|||||||
- gitea: git.front.kjuulh.io/kraken
|
- gitea: git.front.kjuulh.io/kraken
|
||||||
organisation: "kraken"
|
organisation: "kraken"
|
||||||
actions:
|
actions:
|
||||||
- "go run main.go"
|
- type: go
|
||||||
|
entry: "main.go"
|
||||||
|
@ -12,7 +12,10 @@ type KrakenSchema struct {
|
|||||||
Organisation string `yaml:"organisation"`
|
Organisation string `yaml:"organisation"`
|
||||||
} `yaml:"providers"`
|
} `yaml:"providers"`
|
||||||
} `yaml:"select"`
|
} `yaml:"select"`
|
||||||
Actions []string `yaml:"actions"`
|
Actions []struct {
|
||||||
|
Type string `yaml:"type"`
|
||||||
|
Entry string `yaml:"entry"`
|
||||||
|
} `yaml:"actions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func Unmarshal(raw string) (*KrakenSchema, error) {
|
func Unmarshal(raw string) (*KrakenSchema, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user