mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-18 10:50:59 +00:00
fix run_on references with runs_on in docs (#965)
This commit is contained in:
@@ -104,7 +104,7 @@ pipeline:
|
||||
+ - test
|
||||
```
|
||||
|
||||
Pipelines that need to run even on failures should set the `run_on` tag.
|
||||
Pipelines that need to run even on failures should set the `runs_on` tag.
|
||||
|
||||
```diff
|
||||
pipeline:
|
||||
@@ -116,7 +116,7 @@ pipeline:
|
||||
depends_on:
|
||||
- deploy
|
||||
|
||||
+run_on: [ success, failure ]
|
||||
+runs_on: [ success, failure ]
|
||||
```
|
||||
|
||||
Some pipelines don't need the source code, set the `skip_clone` tag to skip cloning:
|
||||
@@ -132,6 +132,6 @@ pipeline:
|
||||
depends_on:
|
||||
- deploy
|
||||
|
||||
run_on: [ success, failure ]
|
||||
runs_on: [ success, failure ]
|
||||
+skip_clone: true
|
||||
```
|
||||
|
@@ -4,4 +4,4 @@ pipeline:
|
||||
commands:
|
||||
- go test
|
||||
|
||||
run_on: [ success, failure ]
|
||||
runs_on: [ success, failure ]
|
||||
|
@@ -25,7 +25,7 @@
|
||||
"minLength": 1,
|
||||
"items": { "type": "string" }
|
||||
},
|
||||
"run_on": {
|
||||
"runs_on": {
|
||||
"type": "array",
|
||||
"minLength": 1,
|
||||
"items": { "type": "string" }
|
||||
|
Reference in New Issue
Block a user