Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnab-developer/aspnet-azure-deploy
Deploy ASP.NET app to Azure with GitHub action.
https://github.com/arnab-developer/aspnet-azure-deploy
asp-net-5 azure github-action
Last synced: about 2 months ago
JSON representation
Deploy ASP.NET app to Azure with GitHub action.
- Host: GitHub
- URL: https://github.com/arnab-developer/aspnet-azure-deploy
- Owner: Arnab-Developer
- License: mit
- Created: 2021-02-09T03:38:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T11:56:51.000Z (over 3 years ago)
- Last Synced: 2023-05-25T02:55:14.762Z (over 1 year ago)
- Topics: asp-net-5, azure, github-action
- Language: C#
- Homepage:
- Size: 683 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASP.NET app azure deploy
![build test deploy](https://github.com/Arnab-Developer/aspnet-azure-deploy/workflows/build%20test%20deploy/badge.svg)
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