Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 94757e5

Browse files
put yaml snippet inside **Note** block
1 parent 40d0d8a commit 94757e5

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

Instructions/Labs/AZ400_M03_Implementing_GitHub_Actions_by_using_DevOps_Starter.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -131,19 +131,18 @@ In this task, you will review the results of creating the DevOps Starter project
131131
1. In the **All workflows** section, click the **Update Index.cshtml** entry.
132132
1. In the **devops-starter-workflow.yml** section, monitor the progress of deployment and verify that it completed successfully.
133133
> **Note**: If the **action using "azure/CLI@1" fails**, commit the following change to the **devops-starter-workflow.yml** file (change the default azure cli version) and verify it completes successfully:
134-
135-
<!-- {% raw %}) -->
136-
```
137-
- name: Deploy ARM Template
138-
uses: azure/CLI@v1
139-
continue-on-error: false
140-
with:
141-
azcliversion: 2.29.2
142-
inlineScript: |
143-
az group create --name "${{ env.RESOURCEGROUPNAME }}" --location "${{ env.LOCATION }}"
144-
az deployment group create --resource-group "${{ env.RESOURCEGROUPNAME }}" --template-file ./ArmTemplates/windows-webapp- template.json --parameters webAppName="${{ env.AZURE_WEBAPP_NAME }}" hostingPlanName="${{ env.HOSTINGPLANNAME }}" appInsightsLocation="${{ env.APPINSIGHTLOCATION }}" sku="${{ env.SKU }}"
145-
```
146-
<!-- {% endraw %}) -->
134+
> <!-- {% raw %}) -->
135+
> ```
136+
> - name: Deploy ARM Template
137+
> uses: azure/CLI@v1
138+
> continue-on-error: false
139+
> with:
140+
> azcliversion: 2.29.2
141+
> inlineScript: |
142+
> az group create --name "${{ env.RESOURCEGROUPNAME }}" --location "${{ env.LOCATION }}"
143+
> az deployment group create --resource-group "${{ env.RESOURCEGROUPNAME }}" --template-file ./ArmTemplates/windows-webapp- template.json --parameters webAppName="${{ env.AZURE_WEBAPP_NAME }}" hostingPlanName="${{ env.HOSTINGPLANNAME }}" appInsightsLocation="${{ env.APPINSIGHTLOCATION }}" sku="${{ env.SKU }}"
144+
> ```
145+
> <!-- {% endraw %}) -->
147146
1. Switch to the browser window displaying the DevOps Starter blade in the Azure portal and click the **Browse** link next to the **Application endpoint** entry.
148147
1. In the newly opened web browser window, verify that the updated text representing the change you committed in the GitHub repo is displayed on the web app home page.
149148

0 commit comments

Comments
 (0)