DEV Community

loading...
Cover image for Azure Command Line  Deployment

Azure Command Line Deployment

jwp profile image John Peters ・1 min read

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

Discussion (0)

Forem Open with the Forem app