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

Commit e5d8dc1

Browse files
No storage is required for Cloud Shell and instructions if the secret in GitHub already exists
1 parent 1a95412 commit e5d8dc1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Instructions/Labs/AZ400_M02_L05_Implement_GitHub_Actions_for_CI_CD.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ In this task, you will create the Azure Service Principal used by GitHub to depl
8383
1. On the **Create a resource group** tab, give the following name to your Resource Group: **rg-eshoponweb-NAME** (replace NAME for some unique alias). Click on **Review + Create > Create**.
8484
1. In the Azure Portal, open the **Cloud Shell** (next to the search bar).
8585

86-
> **Note**: if this is the first time you open the Cloud Shell, you need to configure the [persistent storage](https://learn.microsoft.com/azure/cloud-shell/persisting-shell-storage)
86+
> **Note**: if the Azure portal asks you to create a storage, you can choose **No storage account required** options, select your subscription and click on **Apply** button
8787
8888
1. Make sure the terminal is running in **Bash** mode and execute the following command, replacing **SUBSCRIPTION-ID** and **RESOURCE-GROUP** with your own identifiers (both can be found on the **Overview** page of the Resource Group):
8989

@@ -114,10 +114,12 @@ In this task, you will create the Azure Service Principal used by GitHub to depl
114114
1. In a browser window, go back to your **eShopOnWeb** GitHub repository.
115115
1. On the repository page, go to **Settings**, click on **Secrets and variables > Actions**. Click on **New repository secret**
116116
- Name : **`AZURE_CREDENTIALS`**
117-
- 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 )
117+
- 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 )
118118

119119
1. Click on **Add secret**. Now GitHub Actions will be able to reference the service principal, using the repository secret.
120120

121+
> **Note**: if the secret already exists, modify it with the previously copied JSON
122+
121123
#### Task 2: Modify and execute the GitHub workflow
122124

123125
In this task, you will modify the given GitHub workflow and execute it to deploy the solution in your own subscription.

0 commit comments

Comments
 (0)