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

Commit

Permalink
Fix yaml code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
KuraiAndras committed Jul 29, 2020
1 parent 9379a01 commit 887532a
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions site/content/platform/azure-devops.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,35 @@ Azure Devops gives us the option to do it either in editor mode, or in yaml.
#### Yaml
1. Add a new build pipeline and select yaml.
1. Add the following **yaml** file and adjust where necessary:
```yml
trigger: none # don't run as CI build

schedules:
- cron: "0 0 * * *" # run daily at UTC midnight
displayName: Check for updated dependencies
branches:
include:
- master
always: true # regardless of changes

resources:
- repo: self # point to its own repo, change it if you don't want that

pool:
name: Hosted VS2017 # can be anything you want

steps:
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
displayName: NuKeeper
```
1. Optionally add extra arguments, The extension just calls the **repo** command, so any arguments extra for your repo command can be added here.
```yml
steps:
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
```yml
trigger: none # don't run as CI build

schedules:
- cron: "0 0 * * *" # run daily at UTC midnight
displayName: Check for updated dependencies
branches:
include:
- master
always: true # regardless of changes

resources:
- repo: self # point to its own repo, change it if you don't want that

pool:
name: Hosted VS2017 # can be anything you want

steps:
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
displayName: NuKeeper
inputs:
arguments: '-m 3 -v d'
```
```
1. Optionally add extra arguments, The extension just calls the **repo** command, so any arguments extra for your repo command can be added here.
```yml
steps:
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
displayName: NuKeeper
inputs:
arguments: '-m 3 -v d'
```
1. Finally give the **build service user** the required *[Permissions](#permissions)* and take it for a spin by qeueing a new build!

#### Editor mode
Expand Down

0 comments on commit 887532a

Please sign in to comment.