dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
20.88k stars 4.89k forks source link

Couldn't Run Deployment Step on "Deploy to Azure" Page #5959

Open staffordsmitht opened 3 years ago

staffordsmitht commented 3 years ago

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/deploy-microservice-tutorial/deploy Operating System: macos

Screen Shot 2021-02-15 at 3 56 50 PM

"Deploy to Azure" Page -Couldn't run deployment step. Perhaps I did something incorrectly in the "long" coded section I was supposed to copy?

mairaw commented 3 years ago

Can you help with this issue @nishanil @shirhatti?

ruchinmunjal commented 3 years ago

if you are still struggling with this, try opening the yaml file in VS Code. Make sure you have the formatting correct. I got this error because the formatting in my yaml file was not correct. You can use the inbuilt auto formatting of VS Code to format the yaml file. Save the changes and try running the command again. Below screenshot on how it should look. Notice line 1 as --- which is required.

image