Skip to content

Commit 9f7c0c3

Browse files
authored
Update docs-build-push.yml AZCOPY_AUTO_LOGIN_TYPE
1 parent 4837b47 commit 9f7c0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,14 @@ jobs:
254254
if: github.event.action == 'synchronize' || github.event.action == 'opened' || env.DEPLOYMENT_ENV == 'preview'
255255
with:
256256
inlineScript: |
257+
export AZCOPY_AUTO_LOGIN_TYPE=AZCLI
257258
cd ${{inputs.docs_build_path}} \
258259
&& az storage blob sync \
259260
-s $DOCS_SOURCE_PATH \
260261
-c '$web' \
261262
-d "dev/${{github.repository}}/previews/${PR_NUMBER}" \
262263
--account-name ${{steps.keyvault.outputs.accountName}} \
263-
--delete-destination true \
264-
--auth-mode login
264+
--delete-destination true
265265
266266
az afd endpoint purge \
267267
--resource-group ${{steps.keyvault.outputs.resourceGroupName}} \

0 commit comments

Comments
 (0)