Skip to content

Instantly share code, notes, and snippets.

@abierhaus
Created October 6, 2021 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abierhaus/927d9562211bdff09f20d390b98c414f to your computer and use it in GitHub Desktop.
Save abierhaus/927d9562211bdff09f20d390b98c414f to your computer and use it in GitHub Desktop.
# 'Allow scripts to access the OAuth token' was selected in pipeline. Add the following YAML to any steps requiring access:
# env:
# MY_ACCESS_TOKEN: $(System.AccessToken)
# Cron Schedules have been converted using UTC Time Zone and may need to be updated for your location
schedules:
- cron: 0 6 * * *
branches:
include:
- refs/heads/master
always: true
jobs:
- job: Job_1
displayName: Agent job 1
pool:
vmImage: vs2017-win2016
steps:
- checkout: self
persistCredentials: True
- task: NuKeeper@0
displayName: NuKeeper
inputs:
feed: /[YOURFEEDGUID]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment