Skip to content

Instantly share code, notes, and snippets.

@steviecoaster
Last active November 29, 2018 14:39
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 steviecoaster/f1000ee0bf37fe18b7f34ccd57da3830 to your computer and use it in GitHub Desktop.
Save steviecoaster/f1000ee0bf37fe18b7f34ccd57da3830 to your computer and use it in GitHub Desktop.
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