|
75 | 75 | tenant-id: ${{ secrets.AZURE_TENANT_ID || vars.AZURE_TENANT_ID }} |
76 | 76 | subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID || vars.AZURE_SUBSCRIPTION_ID }} |
77 | 77 |
|
78 | | - # Ensure the azd environment is created before running subsequent azd commands. |
79 | | - # This guarantees that any configured hooks are executed as expected. |
80 | | - # See https://github.com/Azure/azure-dev/issues/3920 for more details. |
81 | | - - name: Create azd env |
82 | | - run: azd env new $env:AZURE_ENV_NAME |
83 | | - |
84 | 78 | - name: Bicep Lint |
85 | 79 | run: | |
86 | 80 | az bicep lint --file ./infra/main.bicep |
@@ -147,12 +141,6 @@ jobs: |
147 | 141 | tenant-id: ${{ secrets.AZURE_TENANT_ID || vars.AZURE_TENANT_ID }} |
148 | 142 | subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID || vars.AZURE_SUBSCRIPTION_ID }} |
149 | 143 |
|
150 | | - # Ensure the azd environment is created before running subsequent azd commands. |
151 | | - # This guarantees that any configured hooks are executed as expected. |
152 | | - # See https://github.com/Azure/azure-dev/issues/3920 for more details. |
153 | | - - name: Create azd env |
154 | | - run: azd env new $env:AZURE_ENV_NAME |
155 | | - |
156 | 144 | - name: Provision Infrastructure |
157 | 145 | run: | |
158 | 146 | azd provision --no-prompt |
@@ -251,12 +239,6 @@ jobs: |
251 | 239 | tenant-id: ${{ secrets.AZURE_TENANT_ID || vars.AZURE_TENANT_ID }} |
252 | 240 | subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID || vars.AZURE_SUBSCRIPTION_ID }} |
253 | 241 |
|
254 | | - # Ensure the azd environment is created before running subsequent azd commands. |
255 | | - # This guarantees that any configured hooks are executed as expected. |
256 | | - # See https://github.com/Azure/azure-dev/issues/3920 for more details. |
257 | | - - name: Create azd env |
258 | | - run: azd env new $env:AZURE_ENV_NAME |
259 | | - |
260 | 242 | # Clean up using the --purge flag to ensure all resources are permanently deleted, like API Management. |
261 | 243 | - name: Cleanup Resources |
262 | 244 | run: | |
|
0 commit comments