Azure / Azure/static-web-apps

API lang/version is not taken from staticwebapp.config.json

Open
#1,247 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

My CI build used to work with just specifying `runtime` in `staticwebapp.config.json`. Meanwhile it switched to `node` and I have to provide `--api-lang` and `--api-version`.

# `staticwebapp.config.json`

JetBrains Rider-nuke-website – ~codenukeexternalwebsitesrcstaticwebapp config json-2023-08-15-RRIwkrVK@2x

# CI log
![Microsoft Edge-foo · nuke-buildwebsite@9a9b74b-2023-08-15-ugsmVR9Z@2x](https://github.com/Azure/static-web-apps/assets/5005566/e3b7003d-c8e0-4a56-991d-45111e75cfbe)

# App insights
Microsoft Edge-staticwebapp - Microsoft Azure-2023-08-15-aEE3kTRk@2x

# Docs
![Microsoft Edge-swa deploy Static Web Apps CLI-2023-08-15-jQxk8MdD@2x](https://github.com/Azure/static-web-apps/assets/5005566/cef0d0a9-d4fc-448f-89df-6da5324bad42)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.