|
|
|
@ -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
|
|
|
|
|