Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Last active January 23, 2018 18:58
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 guitarrapc/7d6b84c1e6f676abdf001bdaa92b2525 to your computer and use it in GitHub Desktop.
Save guitarrapc/7d6b84c1e6f676abdf001bdaa92b2525 to your computer and use it in GitHub Desktop.
queue:
name: Hosted VS2017
demands: msbuild
steps:
- task: DotNetCoreCLI@1
inputs:
command: "restore"
projects: "v2/src/AzureFunctionsIntroduction.sln"
- task: MSBuild@1
inputs:
solution: "v2/src/AzureFunctionsIntroduction.sln"
configuration: "Release"
msbuildArguments: "/p:OutputPath=$(Build.SourcesDirectory)/Tmp"
clean: "true"
- task: CmdLine@1
inputs:
filename: ""C:/Program Files/IIS/Microsoft Web Deploy V3/msdeploy.exe""
arguments: "-verb:sync -source:contentPath=$(Build.SourcesDirectory)/Tmp -dest:contentPath='$(DeploySiteName)',ComputerName="$(DeployScmUrl)",UserName='$(DeployUserName)',Password='$(DeployPassword)',AuthType='Basic'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment