Skip to content

Commit 8fff28a

Browse files
authored
Fix examples in reusing-config.md
Some examples are lacking `run` key
1 parent d172d90 commit 8fff28a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jekyll/_cci2/reusing-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ commands:
393393
type: string
394394
default: docs
395395
steps:
396-
- cp *.md << parameters.destination >>
396+
- run: cp *.md << parameters.destination >>
397397
```
398398

399399
Strings should be quoted if they would otherwise represent another type (such as boolean or number) or if they contain characters that have special meaning in YAML, particularly for the colon character. In all other instances, quotes are optional. Empty strings are treated as a falsy value in evaluation of `when` clauses, and all other strings are treated as truthy. Using an unquoted string value that YAML interprets as a boolean will result in a type error.
@@ -413,7 +413,7 @@ commands:
413413
type: boolean
414414
default: false
415415
steps:
416-
- ls <<# parameters.all >> -a <</ parameters.all >>
416+
- run: ls <<# parameters.all >> -a <</ parameters.all >>
417417
```
418418

419419
Boolean parameter evaluation is based on the [values specified in YAML 1.1](http://yaml.org/type/bool.html):

0 commit comments

Comments
 (0)