Skip to content

Commit 156526d

Browse files
chore: temporary fix for azure cli bug (#98)
1 parent ac5f7ff commit 156526d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy_public.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
env:
122122
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.FOURINSIGHTTEST_DOC_BLOB_CONNSTR }}
123123
with:
124+
azcliversion: 2.76.0 # Can be removed when this issue is fixed. https://github.com/Azure/azure-cli/issues/32039
124125
inlineScript: |
125126
az storage blob upload-batch -d "\$web" -s ./build/html --destination-path "$REPO_NAME_SHORT/python/docs/$VERSION_NUMBER"
126127
@@ -130,6 +131,7 @@ jobs:
130131
env:
131132
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.FOURINSIGHTTEST_DOC_BLOB_CONNSTR }}
132133
with:
134+
azcliversion: 2.76.0 # Can be removed when this issue is fixed. https://github.com/Azure/azure-cli/issues/32039
133135
inlineScript: |
134136
az storage blob delete-batch -s "\$web" --pattern "$REPO_NAME_SHORT/python/docs/latest/*"
135137
az storage blob upload-batch -d "\$web" -s ./build/html --destination-path "$REPO_NAME_SHORT/python/docs/latest"
@@ -163,6 +165,7 @@ jobs:
163165
env:
164166
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.FOURINSIGHTPROD_DOC_BLOB_CONNSTR }}
165167
with:
168+
azcliversion: 2.76.0 # Can be removed when this issue is fixed. https://github.com/Azure/azure-cli/issues/32039
166169
inlineScript: |
167170
az storage blob upload-batch -d "\$web" -s ./build/html --destination-path "$REPO_NAME_SHORT/python/docs/$VERSION_NUMBER"
168171
@@ -172,6 +175,7 @@ jobs:
172175
env:
173176
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.FOURINSIGHTPROD_DOC_BLOB_CONNSTR }}
174177
with:
178+
azcliversion: 2.76.0 # Can be removed when this issue is fixed. https://github.com/Azure/azure-cli/issues/32039
175179
inlineScript: |
176180
az storage blob delete-batch -s "\$web" --pattern "$REPO_NAME_SHORT/python/docs/latest/*"
177181
az storage blob upload-batch -d "\$web" -s ./build/html --destination-path "$REPO_NAME_SHORT/python/docs/latest"

0 commit comments

Comments
 (0)