Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Azure Pipelines yaml config
resources:
- repo: self
queue:
name: Hosted Windows Container
#Your build pipeline references a secret variable named ‘GithubKey’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it secret. See https://go.microsoft.com/fwlink/?linkid=865972
#Your build pipeline references an undefined variable named ‘BlogUrl’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
steps:
- powershell: ./'Invoke-PagesBuild.ps1'
arguments: '$(GithubKey)'
failOnStderr: true
displayName: 'Trigger Github Pages Build'
- task: petergroenewegen.PeterGroenewegen-Xpirit-Vsts-Release-Twitter.Xpirit-Vsts-Release-Twitter.Twitter@1
displayName: 'Twitter task'
inputs:
TwitterEndPoint: 'Steviecoaster_Twitter'
Message: 'New blog post just out! Check it out at $(BlogUrl)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.