- I have an Asp.Net Core MVC 6.0 application.
- It contains multiple class library projects.
- It is also running Asp.Net Identity.
- The project is also hosted in a Github repository.
The application builds and runs fine locally, however, I have added a Github Action for deploying the website to an Azure App Service Linux box, and whilst the deployment says it was successful, the website never gets deployed to Azure.
Here is the website running fine locally:
Here is the Github Action deployment status:
Here is the Azure App Service page, following the "successful" deployment status on Github Actions:
Additional Information
Is this a bug in Github? Does anyone else have the same problem?
UPDATE 2:
- I have visited the KUDU site for the azure app service (
If it's empty or just have a
hostingstart.html
file like my sample picture, it means deploy failed. We need to check the.yml
file, you can find it under the.github/workflows
in github repo.If the contents under the
../site/wwwroot
like locals, it means it deployed successfully. Then we can move to step 5.Navigate to
Configuration
, click the General settings, then findStartup Command
. We can