Skip to content

Commit ddfbfb7

Browse files
authored
add value to wac examples (#499)
1 parent d65649f commit ddfbfb7

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

workspaces/workspace-templates/templates.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,9 @@ The shell Coder should use to run the command.
279279

280280
```yaml
281281
start:
282-
- name: First step
283-
shell: /bin/bash
282+
value:
283+
- name: First step
284+
shell: /bin/bash
284285
```
285286

286287
#### workspace.configure.start.value[*].directory
@@ -289,8 +290,9 @@ The working directory from which Coder should run the command.
289290

290291
```yaml
291292
start:
292-
- name: First step
293-
directory: /home/coder
293+
value:
294+
- name: First step
295+
directory: /home/coder
294296
```
295297

296298
#### workspace.configure.start.value[*].continue-on-error
@@ -306,10 +308,11 @@ The map of environment variables to set for the command.
306308

307309
```yaml
308310
start:
309-
- name: First step
310-
env:
311-
HOME: /home/coder
312-
GOPATH: /home/coder/go
311+
value:
312+
- name: First step
313+
env:
314+
HOME: /home/coder
315+
GOPATH: /home/coder/go
313316
```
314317

315318
#### workspace.dev-urls.value

0 commit comments

Comments
 (0)