mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
fix run_on references with runs_on in docs (#965)
This commit is contained in:
parent
024a12105f
commit
cdbba4c306
3 changed files with 5 additions and 5 deletions
|
@ -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" }
|
||||
|
|
Loading…
Reference in a new issue