Skip to content

Instantly share code, notes, and snippets.

@johndowns johndowns/build.yaml Secret
Created Nov 6, 2018

Embed
What would you like to do?
steps:
- task: DotNetCoreCLI@2
displayName: Build
inputs:
projects: src/EmptyApp/EmptyApp.sln
- task: DotNetCoreCLI@2
displayName: Publish
inputs:
command: publish
publishWebProjects: True
arguments: --output $(build.artifactstagingdirectory)
zipAfterPublish: True
- task: PublishBuildArtifacts@1
displayName: Publish Artifact
inputs:
pathToPublish: $(build.artifactstagingdirectory)
artifactName: app
artifactType: container
- task: PublishBuildArtifacts@1
displayName: Publish Deployment Scripts
inputs:
pathToPublish: deploy
artifactName: deploy
artifactType: container
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.