Deploy your code to App Service

Rhys Lutsky 0 Reputation points
2024-12-03T16:15:51.77+00:00

For exercise - Deploy your code to App Service, when I paste the commands, I get the error " Missing expression after unary operator '--'.".

This question is related to the following Learning Module

Azure Azure Training
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 49,640 Reputation points MVP Volunteer Moderator
    2024-12-03T16:25:42.41+00:00

    If you're referring to

    cd ~/helloworld/target
    az webapp deploy \
        --src-path helloworld.war \
        --resource-group [sandbox resource group name] \
        --name <your-app-name>
    

    then make sure you replace the placeholders with the valid values


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.