Skip to content

Build and deploy ASP.Net Core app to Azure Web App - DotNetNC #9

Build and deploy ASP.Net Core app to Azure Web App - DotNetNC

Build and deploy ASP.Net Core app to Azure Web App - DotNetNC #9

Workflow file for this run

name: Build and deploy ASP.Net Core app to Azure Web App - DotNetNC
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Build with dotnet
run: dotnet build --configuration Release
- name: dotnet publish
run: dotnet publish -c Release -o "C:\\Program Files\\dotnet\\myapp" MyTestDotnet.csproj