Skip to content

Commit 9ab8a2f

Browse files
Removed Azure Pipelines part
1 parent a3e1344 commit 9ab8a2f

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

articles/static-web-apps/build-configuration.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,18 @@ inputs:
222222

223223
If you want to skip building the API, you can bypass the automatic build and deploy the API built in a previous step.
224224
> [!NOTE]
225-
> To skip the API you need to set the `apiRuntime` to the correct language and version in `staticwebapp.config.json`. Click [here](https://docs.microsoft.com/en-us/azure/static-web-apps/configuration#selecting-the-api-language-runtime-version) for the list of supported language and versions.
225+
> Currently the `skip_api_build` is only supported in GitHub Actions and not Azure Pipelines.
226+
227+
Steps to skip building the API:
228+
229+
- In `staticwebapp.config.json`, set the `apiRuntime` to the correct language and version. Click [here](https://docs.microsoft.com/en-us/azure/static-web-apps/configuration#selecting-the-api-language-runtime-version) for the list of supported language and versions.
226230
```json
227231
{
228232
"platform": {
229233
"apiRuntime": "node:16"
230234
}
231235
}
232236
```
233-
234-
Steps to skip building the API:
235-
236-
- In `staticwebapp.config.json`, set the `apiRuntime` to the correct language and version.
237237
- Set `skip_api_build` to `true`.
238238

239239
# [GitHub Actions](#tab/github-actions)
@@ -251,20 +251,8 @@ with:
251251
skip_api_build: true
252252
```
253253

254-
# [Azure Pipelines](#tab/azure-devops)
255-
256-
```yml
257-
...
258-
259-
inputs:
260-
app_location: "src" # App source code path relative to repository root
261-
api_location: "api" # Api source code path relative to repository root - optional
262-
output_location: "public" # Built app content directory, relative to app_location - optional
263-
skip_api_build: true
264-
azure_static_web_apps_api_token: $(deployment_token)
265-
```
266-
267254
---
255+
268256
## Extend build timeout
269257

270258
By default, the app and API builds are limited to 15 minutes. You can extend the build timeout by setting the `build_timeout_in_minutes` property.

0 commit comments

Comments
 (0)