Skip to content

Commit

Permalink
Force using aad auth for storage upload (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin authored Sep 16, 2024
1 parent fdaf165 commit 5e496af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eng/pipelines/pr-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ extends:
scriptLocation: inlineScript
inlineScript: |
az storage blob upload-batch \
--auth-mode login \
--destination \$web \
--account-name "cadlplayground" \
--destination-path $(TYPESPEC_WEBSITE_BASE_PATH) \
Expand All @@ -51,6 +52,7 @@ extends:
scriptLocation: inlineScript
inlineScript: |
az storage blob upload-batch \
--auth-mode login \
--destination \$web \
--account-name "tspwebsitepr" \
--destination-path $(TYPESPEC_WEBSITE_BASE_PATH) \
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ extends:
scriptLocation: inlineScript
inlineScript: |
az storage blob upload-batch ^
--auth-mode login ^
--destination $web ^
--account-name "cadlplayground" ^
--destination-path cadl-azure/ ^
Expand Down

0 comments on commit 5e496af

Please sign in to comment.