Skip to content

Commit f1f055f

Browse files
Fix numbering
1 parent a398fc1 commit f1f055f

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -78,38 +78,38 @@ Use the following steps to deploy an application that has API endpoints.
7878
7979
1. Ensure the API language runtime version in the *staticwebapp.config.json* file is set correctly, for example:
8080
81-
```json
82-
{
83-
"platform": {
84-
"apiRuntime": "node:16"
81+
```json
82+
{
83+
"platform": {
84+
"apiRuntime": "node:16"
85+
}
8586
}
86-
}
87-
```
88-
89-
> [!NOTE]
90-
> If your project doesn't have the *staticwebapp.config.json* file, add one under your `outputLocation` folder.
87+
```
88+
89+
> [!NOTE]
90+
> If your project doesn't have the *staticwebapp.config.json* file, add one under your `outputLocation` folder.
9191
9292
1. Deploy your app:
9393
94-
```azstatic-cli
95-
swa deploy ./my-dist --api-location ./api
96-
```
94+
```azstatic-cli
95+
swa deploy ./my-dist --api-location ./api
96+
```
9797
9898
### Deploy a Blazor app
9999
100100
You can deploy a Blazor app using the following steps.
101101
102102
1. Build your Blazor app in **Release** mode:
103103
104-
```azstatic-cli
105-
dotnet publish -c Release -o bin/publish
106-
```
104+
```azstatic-cli
105+
dotnet publish -c Release -o bin/publish
106+
```
107107
108108
1. From the root of your project, run the deploy command:
109109
110-
```azstatic-cli
111-
swa deploy ./bin/publish/wwwroot --api-location ./Api
112-
```
110+
```azstatic-cli
111+
swa deploy ./bin/publish/wwwroot --api-location ./Api
112+
```
113113
114114
## Deploy using a configuration file
115115

0 commit comments

Comments
 (0)