32 lines
802 B
YAML
32 lines
802 B
YAML
# ASP.NET
|
|
|
|
# Build and test ASP.NET projects.
|
|
# Add steps that publish symbols, save build artifacts, deploy, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4
|
|
|
|
trigger:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: 'windows-latest'
|
|
|
|
steps:
|
|
- task: FAKE5@1
|
|
inputs:
|
|
FakeVersion: '5.16.1'
|
|
FakeScript: 'build.fsx'
|
|
ScriptArguments: '-t bundle'
|
|
|
|
- task: ArchiveFiles@2
|
|
inputs:
|
|
rootFolderOrFile: 'deploy'
|
|
includeRootFolder: false
|
|
archiveType: 'zip'
|
|
archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
|
|
replaceExistingArchive: true
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
inputs:
|
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
|
|
ArtifactName: 'lunchrun-deploy-$(Build.BuildId)'
|
|
publishLocation: 'Container' |