Merge branch 'master' of ssh.dev.azure.com:v3/HackKu/HackKu%202020/frontend

This commit is contained in:
garrettmills 2020-02-08 03:37:37 -06:00
commit 98a95a60f1

View File

@ -16,8 +16,30 @@ steps:
displayName: 'Install Node.js'
- script: |
# npm install -g @angular/cli
npm install -g @ionic/cli
npm install
ionic build --prod
displayName: 'npm install and build'
- task: CmdLine@2
inputs:
script: |
echo $(Build.Repository.LocalPath)
ls -la $(Build.Repository.LocalPath)
# # Archive files
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.Repository.LocalPath)/www'
includeRootFolder: true
archiveType: 'tar'
archiveFile: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz'
replaceExistingArchive: true
verbose: true
- task: PublishPipelineArtifact@1
inputs:
# targetPath: '$(Pipeline.Workspace)'
targetPath: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz'
artifact: 'FrontEnd'
publishLocation: 'pipeline'