mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Add own workflow model (#1784)
Closes #1287 --------- Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@@ -74,7 +74,7 @@ func pipelinePs(c *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
for _, step := range pipeline.Steps {
|
||||
for _, step := range pipeline.Workflows {
|
||||
for _, child := range step.Children {
|
||||
if err := tmpl.Execute(os.Stdout, child); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user