Skip to content

Commit 8e19844

Browse files
authored
Update static-web-apps-cli.md based on reviewer comment
1 parent 7dd9adb commit 8e19844

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

articles/static-web-apps/static-web-apps-cli.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Azure Static Web Apps CLI reference
2+
description: The reference of Azure Static Web Apps CLI commands.
33
title: Azure Static Web Apps CLI reference
44
ms.topic: reference
55
ms.date: 07/25/2025
@@ -9,6 +9,8 @@ author: cjk7989
99

1010
# Azure Static Web Apps CLI reference
1111

12+
The reference of Azure Static Web Apps CLI commands.
13+
1214
## Commands
1315

1416
| Command | Description | Type | Status |
@@ -168,7 +170,7 @@ ___[Global Parameters](#global-parameters)___
168170

169171
Builds the application. If you have a Node.js application, it installs dependencies first.
170172

171-
Common use cases include: installing dependencies for the front-end app and API and running the build commands for both, only building the front-end or API project if the other doesn't have a build step.
173+
Common use cases include: Installing dependencies for the front-end app and API and running the build commands for both, only building the front-end or API project if the other doesn't have a build step.
172174

173175
### Syntax
174176

@@ -467,7 +469,8 @@ swa deploy --print-token
467469

468470
You can then use that value with the `--deployment-token <TOKEN>` or you can create an environment variable called `SWA_CLI_DEPLOYMENT_TOKEN` and set it to the deployment token.
469471

470-
> **Important**: Don't store the deployment token in a public repository. This value must remain a secret.
472+
> [!IMPORTANT]
473+
> Don't store the deployment token in a public repository. This value must remain a secret.
471474
472475
### Deploy a front end app without an API
473476

@@ -482,7 +485,8 @@ cd build/
482485
swa deploy
483486
```
484487

485-
> **Note**: The `build` folder must contain the static content of your app that you want to deploy.
488+
> [!NOTE]
489+
> The `build` folder must contain the static content of your app that you want to deploy.
486490
487491
**Option 2:** You can also deploy a specific folder:
488492

@@ -510,7 +514,8 @@ To deploy both the front end app and an API to Azure Static Web Apps, use the fo
510514
}
511515
```
512516

513-
> **Note**: If your project doesn't have any `staticwebapp.config.json` file, add one under your `outputLocation` folder.
517+
> [!NOTE]
518+
> If your project doesn't have any `staticwebapp.config.json` file, add one under your `outputLocation` folder.
514519
515520
3. Deploy your app:
516521

@@ -536,7 +541,8 @@ swa deploy ./bin/publish/wwwroot --api-location ./Api
536541

537542
### Deploy using the `swa-cli.config.json`
538543

539-
> **Note**: The path for `outputLocation` must be relative to the `appLocation`.
544+
> [!NOTE]
545+
> The path for `outputLocation` must be relative to the `appLocation`.
540546
541547
If you are using a `swa-cli.config.json` configuration file in your project and have a single configuration entry, use a configuration like this:
542548

0 commit comments

Comments
 (0)