Github Action for Azure Python Webapp: Failed to fetch credentials from Publish Profile

后端 未结 2 1224
不知归路
不知归路 2021-01-27 02:27

I\'m getting the error on above scrrenshot while Deploying the Azure WebApp to Azure by Github Actions. I have tried disconnecting and connecting the WebApp multiple tim

2条回答
  •  醉梦人生
    2021-01-27 02:59

    For my case, i would like to add to the above answer that you need to add an app setting called WEBSITE_WEBDEPLOY_USE_SCM and set true. (I am using linux for my app service) and get publish profile. You will notice that the publish profile will automatically change waws-prod.publish.azurewebsites.windows.net to [example-app].scm.azurewebsites.net.

    TLDR;

    1. Set WEBSITE_WEBDEPLOY_USE_SCM = true in app settings
    2. click on get publish profile button to get an updated publish setting.

提交回复
热议问题