azure-pipelines.yml: hoo boy don't use "az storage blob sync"

This commit is contained in:
Peter Williams 2020-04-25 19:47:16 -04:00
Родитель 6cbd2d6f64
Коммит 8ac2e9865b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -23,11 +23,11 @@ jobs:
curl -fsSL "$u" |tar xz
displayName: Install Zola
- powershell: |
- script: |
./zola check
displayName: Check site
- powershell: |
- script: |
./zola build -o $(build.artifactStagingDirectory)
displayName: Build site
@ -44,6 +44,6 @@ jobs:
scriptType: 'bash'
scriptLocation: 'inlineScript'
inlineScript: |
az storage blob sync -c '$web' -s $(build.artifactStagingDirectory)
az storage blob upload-batch -s $(build.artifactStagingDirectory) -d '$web'
env:
AZURE_STORAGE_CONNECTION_STRING: $(AZURE_STORAGE_CONNECTION_STRING)