fix run_on references with runs_on in docs (#965)

This commit is contained in:
Arno Hautala 2022-06-09 23:44:26 -04:00 committed by GitHub
parent 024a12105f
commit cdbba4c306
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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
```

View file

@ -4,4 +4,4 @@ pipeline:
commands:
- go test
run_on: [ success, failure ]
runs_on: [ success, failure ]

View file

@ -25,7 +25,7 @@
"minLength": 1,
"items": { "type": "string" }
},
"run_on": {
"runs_on": {
"type": "array",
"minLength": 1,
"items": { "type": "string" }