Skip to content

Commit 3f77fae

Browse files
fix examples
1 parent 935cea5 commit 3f77fae

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/examples/references.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ usage:
66
orbs:
77
publish-docs: infinitered/publish-docs@x.y.z # Replace with the actual version
88

9-
# Define common parameters
10-
common_params: &publish_docs_params
11-
description: "The description that will appear on autogenerated indexes and components."
12-
git_email: "your.ci@email.here"
13-
git_username: "Your CI Username"
14-
label: "The label that will appear in the sidebar of the docs site."
15-
project_name: 'name-of-project'
16-
source_docs_dir: "docs"
17-
source_repo_directory: "source"
18-
target_docs_dir: "docs"
19-
target_repo: "git@github.com:your-org/your-repo.git"
20-
target_repo_directory: "target"
9+
# You can define a YAML anchor and reference it later.
10+
common_params: &publish_docs_params
11+
description: "The description that will appear on autogenerated indexes and components."
12+
git_email: "your.ci@email.here"
13+
git_username: "Your CI Username"
14+
label: "The label that will appear in the sidebar of the docs site."
15+
project_name: 'name-of-project'
16+
source_docs_dir: "docs"
17+
source_repo_directory: "source"
18+
target_docs_dir: "docs"
19+
target_repo: "git@github.com:your-org/your-repo.git"
20+
target_repo_directory: "target"
2121

22-
workflows:
23-
build_docs:
24-
jobs:
25-
- publish-docs/build_docs:
26-
# this will expand to all the parameters defined in the anchor
27-
<<: *publish_docs_params
28-
publish_to_docs_site:
29-
jobs:
30-
- publish-docs/publish_docs:
31-
# this will expand to all the parameters defined in the anchor
32-
<<: *publish_docs_params
22+
workflows:
23+
build_docs:
24+
jobs:
25+
- publish-docs/build_docs:
26+
# this will expand to all the parameters defined in the anchor
27+
<<: *publish_docs_params
28+
publish_to_docs_site:
29+
jobs:
30+
- publish-docs/publish_docs:
31+
# this will expand to all the parameters defined in the anchor
32+
<<: *publish_docs_params

0 commit comments

Comments
 (0)