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

后端 未结 2 1251
不知归路
不知归路 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:58

    1. Go to WebApp in Azure Portal and download publishing profile.You would get someting similar to the below.

      
          
      
      
          
      
      
          
      
      
    2. Change the publishing url at the first publishing profile for Web-Deploy to [appname].scm.azurewebsites.net instead of

      waws-prod.publish.azurewebsites.windows.net

    3. Go to Github and go to the repository.

    4. Go to the respective workflow yml file in .github/workflows and look for ${{ secrets. }}. Remember the .

    5. Go to settings > secrets and click on 'update' button respective to the secret name you remember from above step.

    6. Paste the XML code inside Value and click 'update secret'.

    7. Go to 'Actions' and select the failed workflow run and click 're-run jobs'.

    Now your Web Zip Deploy should be succesfull.

提交回复
热议问题