You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Builds the application. If you have a Node.js application, it installs dependencies first.
170
172
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.
172
174
173
175
### Syntax
174
176
@@ -467,7 +469,8 @@ swa deploy --print-token
467
469
468
470
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.
469
471
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.
471
474
472
475
### Deploy a front end app without an API
473
476
@@ -482,7 +485,8 @@ cd build/
482
485
swa deploy
483
486
```
484
487
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.
486
490
487
491
**Option 2:** You can also deploy a specific folder:
488
492
@@ -510,7 +514,8 @@ To deploy both the front end app and an API to Azure Static Web Apps, use the fo
510
514
}
511
515
```
512
516
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.
0 commit comments