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

Commit 04d7c54

Browse files
authored
Merge pull request #456 from MicrosoftLearning/yashints-patch-1
Update AZ400_M03_L05_Implementing_GitHub_Actions_for_CI_CD.md
2 parents ad7584d + 649e0d1 commit 04d7c54

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Instructions/Labs/AZ400_M03_L05_Implementing_GitHub_Actions_for_CI_CD.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,16 @@ In this task, you will create the Azure Service Principal used by GitHub to depl
105105
(...)
106106
}
107107
```
108-
109-
8. In a browser window, go back to your **eShopOnWeb** GitHub repository.
110-
9. On the repository page, go to **Settings**, click on **Secrets and variables > Actions**. Click on **New repository secret**
108+
8. You also need to run the following command to register the resource provider for the **Azure App Service** you will deploy later:
109+
```bash
110+
az provider register --namespace Microsoft.Web
111+
```
112+
10. In a browser window, go back to your **eShopOnWeb** GitHub repository.
113+
11. On the repository page, go to **Settings**, click on **Secrets and variables > Actions**. Click on **New repository secret**
111114
- Name : **AZURE_CREDENTIALS**
112115
- Secret: **paste the previously copied JSON object** (GitHub is able to keep multiple secrets under same name, used by [azure/login](https://github.com/Azure/login) action )
113116

114-
10. Click on **Add secret**. Now GitHub Actions will be able to reference the service principal, using the repository secret.
117+
12. Click on **Add secret**. Now GitHub Actions will be able to reference the service principal, using the repository secret.
115118

116119
#### Task 2: Modify and execute the GitHub workflow
117120

0 commit comments

Comments
 (0)