Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,175 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to change the git hub repository connected to my azure static web app. i have ran the command to disconnect the repo using azure cli and when tried to reconnect, getting error
az : WARNING: Static Web App raeestest already exists in resource group DEMO
At line:1 char:1
+ az staticwebapp reconnect -n raeestest --source https://github.com/Ra ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (WARNING: Static...urce group DEMO:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Hi @Raees Kamba thanks for the question.
Based on this SO thread here is how to change the git hub repository:
secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_...
) and the deployment token.Please note that if you need to change the branch, you can just edit the branch in the YAML file
Hope that helps.
-Grace