Skip to content

Commit 6df4975

Browse files
committed
Example and fix typo
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent d4d1b6c commit 6df4975

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/tasks/right-size-vm.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,19 @@ See also: [Custom VM sizes](/examples/custom-vm-size/)
1414

1515
## Try it out
1616

17-
Add the following to the top of your worklflow:
18-
19-
```yaml
20-
steps:
21-
# vmmeter start
22-
- uses: alexellis/setup-arkade@master
23-
- uses: self-actuated/vmmeter-action@master
24-
# vmmeter end
17+
Add the following to the top of your workflow file:
18+
19+
```diff
20+
name: ci
21+
jobs:
22+
my-job-1:
23+
name: my-job-1
24+
runs-on: actuated-4cpu-12gb
25+
steps:
26+
+ # vmmeter start
27+
+ - uses: alexellis/setup-arkade@master
28+
+ - uses: self-actuated/vmmeter-action@master
29+
+ # vmmeter end
2530
```
2631

2732
The `vmmeter-action` will run in the background and collect metrics about the job. Its *Post run action* will collect the metrics and upload them to the job's summary.

0 commit comments

Comments
 (0)