Skip to content

Arnab-Developer/aspnet-azure-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASP.NET app azure deploy

build test deploy

Deploy ASP.NET app to azure web app with GitHub action.

Steps:

  • Create a new ASP.NET web application.
  • Push to GitHub.
  • Create a new web app in Azure.
  • Download the publish profile from Azure web app.
  • Store the publish profile's content to GitHub repository secret.
  • Create a workflow with GitHub action to build, test and deploy.
- name: 'Deploy to Azure WebApp'
  uses: azure/webapps-deploy@v2
  with:
    app-name: ${{ env.AZURE_WEBAPP_NAME }}
    publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
    package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp

Tech stack

  • .NET 5
  • C# 9
  • xunit for unit testing
  • Visual Studio 2019

About

Deploy ASP.NET app to Azure with GitHub action.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published