DEV Community

Cover image for Azure Command Line Deployment
John Peters
John Peters

Posted on

Azure Command Line Deployment

Environment:

  • Angular frontend app only
  • Azure App Service
azure 
 //Answer yes to prompts
 -y 
 //Don't generate Deployment file
 --no-dot-deployment 
 //Root path for the repository 
 -r "See Note A" 
 //Output generated script
 -o "See Note B"  
 //For any other website
 --basic 
 --sitePath "See Note A"'
Enter fullscreen mode Exit fullscreen mode

Note A:

"D:\local\Temp\zipdeploy\extracted"   
Enter fullscreen mode Exit fullscreen mode

Note B:

"D:\home\site\deployments\tools"
Enter fullscreen mode Exit fullscreen mode

The repository was a git repo which had to have the azure tools installed. I'm not sure where the D: drive came from as my computer did not have it after the deploy.

Alt Text

JWP2021

Top comments (0)