Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 038a9c8

Browse files
authored
Merge pull request #1007 from KuraiAndras/patch-1
Fix yaml code blocks
2 parents 102d762 + 27ab225 commit 038a9c8

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

site/content/platform/azure-devops.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,35 @@ Azure Devops gives us the option to do it either in editor mode, or in yaml.
1818
#### Yaml
1919
1. Add a new build pipeline and select yaml.
2020
1. Add the following **yaml** file and adjust where necessary:
21-
```yml
22-
trigger: none # don't run as CI build
23-
24-
schedules:
25-
- cron: "0 0 * * *" # run daily at UTC midnight
26-
displayName: Check for updated dependencies
27-
branches:
28-
include:
29-
- master
30-
always: true # regardless of changes
31-
32-
resources:
33-
- repo: self # point to its own repo, change it if you don't want that
34-
35-
pool:
36-
name: Hosted VS2017 # can be anything you want
37-
38-
steps:
39-
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
40-
displayName: NuKeeper
41-
```
42-
1. Optionally add extra arguments, The extension just calls the **repo** command, so any arguments extra for your repo command can be added here.
43-
```yml
44-
steps:
45-
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
21+
```yml
22+
trigger: none # don't run as CI build
23+
24+
schedules:
25+
- cron: "0 0 * * *" # run daily at UTC midnight
26+
displayName: Check for updated dependencies
27+
branches:
28+
include:
29+
- master
30+
always: true # regardless of changes
31+
32+
resources:
33+
- repo: self # point to its own repo, change it if you don't want that
34+
35+
pool:
36+
name: Hosted VS2017 # can be anything you want
37+
38+
steps:
39+
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
4640
displayName: NuKeeper
47-
inputs:
48-
arguments: '-m 3 -v d'
49-
```
41+
```
42+
1. Optionally add extra arguments, The extension just calls the **repo** command, so any arguments extra for your repo command can be added here.
43+
```yml
44+
steps:
45+
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
46+
displayName: NuKeeper
47+
inputs:
48+
arguments: '-m 3 -v d'
49+
```
5050
1. Finally give the **build service user** the required *[Permissions](#permissions)* and take it for a spin by qeueing a new build!
5151
5252
#### Editor mode

0 commit comments

Comments
 (0)