Skip to content

Commit 4837b47

Browse files
authored
Delete files which were removed in source dir
Using 'az storage blob sync' to sync the content of the dir
1 parent 52b1680 commit 4837b47

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/docs-build-push.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,12 @@ jobs:
255255
with:
256256
inlineScript: |
257257
cd ${{inputs.docs_build_path}} \
258-
&& az storage blob upload-batch \
258+
&& az storage blob sync \
259259
-s $DOCS_SOURCE_PATH \
260-
-d '$web' \
261-
--destination-path "dev/${{github.repository}}/previews/${PR_NUMBER}" \
260+
-c '$web' \
261+
-d "dev/${{github.repository}}/previews/${PR_NUMBER}" \
262262
--account-name ${{steps.keyvault.outputs.accountName}} \
263-
--overwrite \
264-
--content-cache-control "max-age=3600" \
263+
--delete-destination true \
265264
--auth-mode login
266265
267266
az afd endpoint purge \

0 commit comments

Comments
 (0)