Update azure-pipelines.yml for Azure Pipelines

Trying to test archiving
This commit is contained in:
Thomas 2020-02-08 04:38:22 +00:00
parent 930d847f9c
commit bb8c085d64

View File

@ -22,11 +22,17 @@ steps:
ionic build --prod
displayName: 'npm install and build'
- task: CmdLine@2
inputs:
script: |
pwd
ls -la
# Archive files
# Compress files into .7z, .tar.gz, or .zip
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.BinariesDirectory)/www/'
rootFolderOrFile: '$(Build.BinariesDirectory)'
# includeRootFolder: true
archiveType: 'tar' # Options: zip, 7z, tar, wim
tarCompression: 'gz' # Optional. Options: gz, bz2, xz, none