Skip to content

Commit 96e8ce1

Browse files
authored
Merge pull request #290954 from craigshoemaker/swa/app-settings
[Static Web Apps] Update: App settings -> Update intro & remove screenshot
2 parents 1691852 + 076fe8d commit 96e8ce1

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

articles/static-web-apps/application-settings.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ introduction: |
2424
- Are copied to [staging](review-publish-pull-requests.md) and production environments
2525
- May only be alphanumeric characters, `.`, and `_`
2626
27-
> [!IMPORTANT]
28-
> The application settings described in this article only apply to the backend API of an Azure Static Web App.
29-
>
30-
> To configure environment variables that are required to build your frontend web application, see [Build configuration](build-configuration.md#environment-variables).
27+
The application settings described in this article only apply to the backend API of an Azure Static Web App.
28+
29+
To configure environment variables required to build your frontend web application, see [Build configuration](build-configuration.md#environment-variables).
3130
3231
prerequisites:
3332
summary: |
@@ -69,6 +68,11 @@ procedureSection:
6968
summary: |
7069
You can configure application settings via the [Azure portal](https://portal.azure.com) or with the [Azure CLI](#use-the-azure-cli).
7170
71+
> [!IMPORTANT]
72+
> The application settings described in this article only apply to the backend API of an Azure Static Web App.
73+
>
74+
> To configure environment variables required to build your frontend web application, see [Build configuration](build-configuration.md#environment-variables).
75+
7276
### Use the Azure portal
7377
7478
The Azure portal provides an interface for creating, updating and deleting application settings.
@@ -77,18 +81,17 @@ procedureSection:
7781
7882
1. Open your static web app.
7983
80-
1. Select **Environment variables** in the sidebar.
84+
1. Under the *Settings* section, select **Environment variables**.
8185
8286
1. Select the environment to which you want to create environment variables. You can create variables per environment. When you create a pull request, staging environments are automatically created, and then promoted into production when you merge the pull request.
8387
8488
1. Select **+ Add** to add a new environment variable.
85-
:::image type="content" source="media/application-settings/configuration.png" alt-text="Screenshot of Azure Static Web Apps environment variables view":::
8689
87-
1. Enter a **Name** and **Value**.
90+
1. Enter your values in the *Name* and *Value* boxes.
8891
89-
1. Select **OK**.
92+
1. Select **Apply**.
9093
91-
1. Select **Save**.
94+
1. Select **Apply** again to save your changes.
9295
9396
### Use the Azure CLI
9497
Binary file not shown.

0 commit comments

Comments
 (0)