skip to Main Content

IDE used is VSCode.

Deployment is done using CLI

The command I am using doesn’t update it as I have checked the code files using ssh under development tools in azure portal

az webapp update --name <name> --resource-group <resource group name>

2

Answers


    • I have created Azure Linux Web App with the command which you have provided in SO.
     az webapp up --resource-group YourRGName --location westus  --os-type Linux --runtime "PYTHON:3.9" --sku B1
    

    enter image description here

    • We can check the deployed files/folders from Azure Portal => Development Tools => Advanced Tools => Go => SSH
      OR
      Development Tools => Advanced Tools => SSH

    enter image description here

    • As we have deployed Sample WebApp from CLI, we can only see the hostingstart.html.
    • If you want to add/update any files, you can connect to FTP and push the changes.
    • We can find the FTP credentials in Portal
      Deployment => Deployment Center => FTPS Credentials
      These credentials can be used for both FTP/WINSCP.

    enter image description here

    • All the files have to be under wwwroot folder.

    az webapp update –name –resource-group

    The above command is used to update and manage the deployed webapp Configurations.

    Login or Signup to reply.
  1. Just set the deployment source in deployment center-> settings:

    details

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search