diff --git a/pipeline/schema/.woodpecker/test-when.yml b/pipeline/schema/.woodpecker/test-when.yml index c15850fef..9ae413820 100644 --- a/pipeline/schema/.woodpecker/test-when.yml +++ b/pipeline/schema/.woodpecker/test-when.yml @@ -34,19 +34,19 @@ pipeline: when: status: [success, failure] - when-plattform: + when-platform: image: alpine commands: - echo "test" when: - plattform: linux/amd64 + platform: linux/amd64 - when-plattform-array: + when-platform-array: image: alpine commands: - echo "test" when: - plattform: [ linux/*, windows/amd64 ] + platform: [ linux/*, windows/amd64 ] when-environment: image: alpine diff --git a/pipeline/schema/schema.json b/pipeline/schema/schema.json index 8b1dc5858..9ab35c130 100644 --- a/pipeline/schema/schema.json +++ b/pipeline/schema/schema.json @@ -194,8 +194,8 @@ "enum": ["success", "failure"] } }, - "plattform": { - "description": "Execute a step only on a specific platform. Read more: https://woodpecker-ci.github.io/docs/usage/pipeline-syntax#plattform", + "platform": { + "description": "Execute a step only on a specific platform. Read more: https://woodpecker-ci.github.io/docs/usage/pipeline-syntax#platform", "oneOf": [ { "type": "array",