diff --git a/contrib/woodpecker-test-repo/.woodpecker/demo.yml b/contrib/woodpecker-test-repo/.woodpecker/demo.yml index 3d824208a..02824a8de 100644 --- a/contrib/woodpecker-test-repo/.woodpecker/demo.yml +++ b/contrib/woodpecker-test-repo/.woodpecker/demo.yml @@ -1,4 +1,4 @@ -pipeline: +steps: demo: image: 'alpine' commands: diff --git a/contrib/woodpecker-test-repo/.woodpecker/test.yml b/contrib/woodpecker-test-repo/.woodpecker/test.yml index 68f632f80..1f41cddc3 100644 --- a/contrib/woodpecker-test-repo/.woodpecker/test.yml +++ b/contrib/woodpecker-test-repo/.woodpecker/test.yml @@ -1,4 +1,4 @@ -pipeline: +steps: test_1: image: 'alpine' commands: diff --git a/docs/src/pages/faq.md b/docs/src/pages/faq.md index 70552759d..1f2d52d10 100644 --- a/docs/src/pages/faq.md +++ b/docs/src/pages/faq.md @@ -44,7 +44,7 @@ If that does not work, try to make sure the container can reach your git server. ```yaml skip_clone: true -pipeline: +steps: build: image: debian:stable-backports commands: diff --git a/pipeline/frontend/yaml/types/workflow.go b/pipeline/frontend/yaml/types/workflow.go index ca03250e9..e5503c747 100644 --- a/pipeline/frontend/yaml/types/workflow.go +++ b/pipeline/frontend/yaml/types/workflow.go @@ -23,9 +23,9 @@ type ( Networks WorkflowNetworks `yaml:"networks,omitempty"` Volumes WorkflowVolumes `yaml:"volumes,omitempty"` // Deprecated - BranchesDontUseIt *constraint.List `yaml:"branches,omitempty"` + BranchesDontUseIt *constraint.List `yaml:"branches,omitempty"` // TODO: remove after v1.1.x version // Deprecated - PipelineDontUseIt ContainerList `yaml:"pipeline,omitempty"` + PipelineDontUseIt ContainerList `yaml:"pipeline,omitempty"` // TODO: remove after v1.1.x version } // Workspace defines a pipeline workspace.