You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/ojobio/templates-apply.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@ And executing in the same way as the previous example it will generate the same
154
154
155
155
When it gets really interesting is when you generate other data files using a master data & template file. Let's say you need to generate some install scripts for your Java application in different architectures with different JREs. Your stepA.yaml could look like this:
156
156
157
-
````yaml
157
+
{% raw %}```yaml
158
158
template: &TEMPLATE |
159
159
_template: |
160
160
\{{#if win}}
@@ -200,7 +200,7 @@ data:
200
200
- stable
201
201
- canary
202
202
- nightly
203
-
````
203
+
```{% endraw %}
204
204
205
205
Executing ojob.io/template/apply on stepA.yaml generates a new stepB.yaml with 45 data entries:
0 commit comments